/* Soft UI Card */

/* Responsive for mobile */
@media(max-width: 768px){
    .form-control {
        width: 100% !important;
    }
    .mobile-group {
        margin-bottom: 18px;
    }
    h2.form-label {
        font-size: 18px;
        margin-top: 20px;
        padding: 8px;
    }
    .soft-card {
        padding: 10px;
    }
    .card-header {
        font-size: 18px !important;
        text-align: center;
    }
    .avatar-preview, #cimg {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Card */
.soft-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: none;
    transition: 0.3s;
    background-color: #ffffff;
}
.soft-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Header */
.soft-card .card-header {
    background-color: rgb(240, 238, 238);
    color: white;
    font-weight: 600;
    font-size: 20px;
    padding: 20px 25px;
    border-radius: 16px 16px 0 0;
}

/* Labels */
.form-label {
    font-weight: 600;
    color: #34495e;
}

/* Inputs */
.form-control {
    border-radius: 12px;
    border: 1px solid #d1d9e6;
    padding: 10px 14px;
    transition: all 0.2s;
    width: 250px;
}
.form-control:focus {
    border-color: #ce3e51ff;
    box-shadow: 0 0 0 2px rgba(76,124,255,0.2);
}
.form-control:hover {
    border-color: #3985ccff;
    box-shadow: 0 0 0 2px rgba(76,124,255,0.2);
}

/* Select */
.custom-select {
    border-radius: 12px;
    border: 1px solid #d1d9e6;
    padding: 10px 14px;
}

/* File input */
.custom-file-input {
    border-radius: 24px;
}

/* Avatar */
.avatar-preview {
    height: 140px;
    width: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.avatar-preview:hover {
    transform: scale(1.05);
}

/* Buttons */
.btn-soft {
    border-radius: 12px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-soft:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Footer */
.card-footer {
    background-color: #f9f9f9;
    border-top: none;
    padding: 15px 25px;
}
.upload-panel {
    border: 2px dashed #007bff;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #007bff;
    margin-bottom: 20px;
    position: relative;
    background-color: #f8f9fa;
}
.upload-panel:hover {
    background-color: #e3f2fd;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.panel-number {
    position: absolute;
    top: -12px;
    left: -12px;
    background-color: #007bff;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.panel-icon {
    margin-bottom: 15px;
    color: #007bff;
}
.upload-panel h5 {
    font-weight: 600;
    margin-bottom: 10px;
}
.upload-panel p {
    font-size: 14px;
    color: #555;
}
#excelUpload button {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 6px;
    border: none;
    background-color: #007bff;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}
#excelUpload button:hover {
    background-color: #0056b3;
}


/* Modern Table Header Design */
#employeeTable thead th {
    background: #0d6efd; /* Bootstrap primary */
    color: white;
    text-align: center;
    font-weight: 600;
    padding: 10px;
    font-size: 14px;
    letter-spacing: .3px;
    white-space: nowrap;
}

/* Zebra row effect */
#employeeTable tbody tr:nth-child(even) {
    background: #f8f9fa;
}

/* Hover effect */
#employeeTable tbody tr:hover {
    background: #e8f1ff !important;
    transition: 0.2s ease-in-out;
}

/* Better borders */
.table-bordered > tbody > tr > td,
.table-bordered > thead > tr > th {
    border: 1px solid #dee2e6;
}

/* Fixed column width for avatar */
#employeeTable td:nth-child(3) {
    width: 60px;
    text-align: center;
}

/* Make first column centered */
#employeeTable td:first-child,
#employeeTable th:first-child {
    text-align: center;
}



/*  ማሳመሪያ ለ አድሱ ፎርም */