﻿.dashboard-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

    .dashboard-card h2 {
        font-size: 1.5em;
        margin: 0;
        line-height: 1.2em;
    }

    .stats-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

.field-badge {
    background-color: #f8f9fa;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-right: 5px;
    margin-bottom: 3px;
    display: inline-block;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.field-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #007bff;
}

.field-name {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.field-value {
    color: #6c757d;
    word-break: break-word;
    font-size: 0.9em;
}


/*** File Drop Box ***/
#dropArea {
    border: 1px dashed #c3c3cc;
    position: relative;
    text-align: center;
    padding: 5px 10px;
    margin-bottom: 15px;
}

#drop {
    font-size: 12px;
    display: inline-block;
}

#logoPreview .e-avatar {
    border: 0;
    display: block;
    margin: 10px auto;
    width: 7em;
    height: 7em;
}

    #logoPreview .e-avatar img {
        height: 100%;
        width: auto;
    }

.e-upload.e-control-wrapper {
    display: none;
}

.file-drop-box {
    background-color: #eaeaea;
    border: 1px dashed grey;
    padding: 8px 10px 2px;
    display: block;
}

    .file-drop-box .supported-file-icons {
        font-size: 24px;
        color: #00bdae;
    }

.e-upload .e-file-select-wrap {
    padding: 6px 0;
    text-align: center;
}

    .e-upload .e-file-select-wrap .e-btn,
    .e-upload .e-file-select-wrap .e-css.e-btn {
        background-color: #00bdae;
        border-color: #00bdae;
        font-size: 12px;
        line-height: 1.2em;
    }

        .e-upload .e-file-select-wrap .e-btn:hover,
        .e-upload .e-file-select-wrap .e-css.e-btn:hover {
            background-color: #017d73;
            border-color: #017d73;
        }

.e-upload .e-upload-files .e-upload-file-list {
    min-height: 40px;
    margin: 5px;
}

.e-upload .e-upload-actions > .e-file-clear-btn {
    display: none;
}

.e-btn.e-flat.e-primary,
.e-css.e-btn.e-flat.e-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

    .e-btn.e-flat.e-primary:hover,
    .e-css.e-btn.e-flat.e-primary:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
    }

    .e-btn.e-flat.e-primary:focus,
    .e-css.e-btn.e-flat.e-primary:focus {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
        box-shadow: none;
    }

.e-switch-wrapper, .e-css.e-switch-wrapper {
    width: 42px;
}

    .e-switch-wrapper .e-switch-on,
    .e-css.e-switch-wrapper .e-switch-on {
        background-color: var(--primary);
        color: #fff;
    }

    .e-switch-wrapper .e-switch-inner.e-switch-active,
    .e-css.e-switch-wrapper .e-switch-inner.e-switch-active {
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .e-switch-wrapper:hover .e-switch-inner.e-switch-active,
    .e-css.e-switch-wrapper:hover .e-switch-inner.e-switch-active {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
    }


        .e-switch-wrapper:hover .e-switch-inner.e-switch-active .e-switch-on, .e-css.e-switch-wrapper:hover .e-switch-inner.e-switch-active .e-switch-on {
            background-color: var(--primary-hover);
            color: #fff;
        }

.e-checkbox-wrapper:hover .e-frame.e-check, .e-css.e-checkbox-wrapper:hover .e-frame.e-check {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.file-flex-box {
    display: flex;
    overflow: hidden;
    margin: 1em auto;
    align-items: center;
}

.f-left {
    padding: 0.5em 0.5em;
    color: #337ab7;
}

    .f-left i.fa {
        color: var(--primary);
    }

.f-right {
    padding: 0.5em 0.5em;
    color: #333333;
}

.file-flex-box-content {
    flex: auto;
    text-align: left;
}

    .file-flex-box-content .label.label-outline {
        font-size: 0.6em;
    }

    .file-flex-box-content h3.header {
        text-overflow: ellipsis;
        display: inline-block;
        max-width: 220px;
        white-space: nowrap;
        overflow: hidden;
        margin: 0;
        font-weight: 700;
    }

.file-wrapper {
    float: left;
}

.file-actions {
    float: right;
}

    .file-actions .file-remove {
        width: 40px;
    }

.file-wrapper i.icon {
    float: left;
    display: inline-block;
    width: 40px;
    color: #00bdae;
    font-size: 34px;
    text-align: center;
    vertical-align: middle;
    line-height: 1em;
    align-self: center;
}

.file-wrapper .name {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.file-wrapper .upload-status {
    /*display:block;*/
}

    .file-wrapper .upload-status.upload-success {
        color: var(--primary);
    }