﻿/* Employee Form Styling */
.upload-area {
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .upload-area:hover {
        border-color: #004d4d !important;
        background-color: rgba(0, 102, 102, 0.05) !important;
    }

    .upload-area input[type="file"] {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.file-selected {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: rgba(0, 102, 102, 0.1);
    border-radius: 4px;
    border-left: 3px solid #006666;
}

/* Form validation styling */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Dashboard card improvements */
.dashboard-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
    border-radius: 8px 8px 0 0;
}

.dashboard-card-body {
    padding: 1.5rem;
}

/* Activity list styling */
.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

    .activity-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.activity-content {
    flex-grow: 1;
}

    .activity-content h6 {
        margin-bottom: 4px;
        font-weight: 600;
        color: #333;
    }

    .activity-content p {
        margin-bottom: 0;
        color: #666;
        font-size: 0.9rem;
        line-height: 1.4;
    }

/* Background color utilities */
.bg-primary-light {
    background-color: rgba(0, 102, 102, 0.15);
    color: #006666;
}

.bg-info-light {
    background-color: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

/* Metric card styling */
.metric-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.metric-title {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.metric-subtitle {
    font-size: 0.8rem;
    color: #888;
}

/* Button improvements */
.btn-invictus {
    background-color: #006666;
    border-color: #006666;
    color: white;
}

    .btn-invictus:hover {
        background-color: #004d4d;
        border-color: #004d4d;
        color: white;
    }

    .btn-invictus:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 102, 102, 0.25);
    }

/* Responsive improvements */
.btn-sm.btn-md-regular {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Media queries for responsive design */
/* For tablets and up */
/* Using min-width instead of @ media for compatibility */
.responsive-button-text {
    display: none;
}

/* For desktop and up - you'll need to add this via JavaScript or use CSS media queries in a separate file */
.desktop-show {
    display: none;
}

/* Table responsive improvements */
.table-responsive {
    border-radius: 6px;
    overflow: hidden;
}

.table thead th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Form improvements */
.form-label.fw-semibold {
    margin-bottom: 8px;
    color: #333;
}

.form-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

/* Alert improvements */
.alert {
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
    border-left: 4px solid #198754;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
    border-left: 4px solid #0dcaf0;
}
