:root {
    --primary-color: #883DCF;
    --primary-dark: #6f2ecc;
    --primary-light: #F4ECFB;
    --main-bg: #f8f9fa;
    --border-color: #e9ecef;
}

/* General Styles */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Public Sans',-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--main-bg);
    color: #333;
}

/* Page Header */
.page-header h1 {
    font-size: 28px;
    color: #333;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-header p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/*LOGIN PAGE STYLES */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f0f2f5;
}

.login-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.login-header p {
    color: #999;
    font-size: 14px;
    margin: 8px 0 0 0;
}

.login-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #6f2ecc !important;
}

.input-group .form-control {
    border-left: none;
    color: #333 !important;
}

.input-group .form-control:focus {
    border-left-color: var(--primary-color);
}

.btn-login {
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 6px;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 63, 252, 0.3);
    color: white;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 13px;
}

.error-message {
    color: #f44336;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Login Page Mobile Responsive */
@media (max-width: 576px) {
    .login-box {
        padding: 30px 20px;
        max-width: 100%;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .login-header i {
        font-size: 32px;
    }

    .login-form .form-control {
        font-size: 16px;
    }
}


/* Search Selection*/
.search-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-box {
    position: relative;
    width: auto;
    max-width: 100%;
    height: 14px;
    display: inline-block;
}

.search-box input {
    height: 38px;
    font-size: 12px;
    padding-left: 35px;
    padding-top: 8px;
    padding-bottom: 6px;
    line-height: 1.5;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 45, 92, 0.15);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 10px;
    color: #999;
}

.btn-add {
    background: var(--primary-color) !important;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 200;
    transition: all 0.3s ease;
    color: white;
    font-size: 14px;
    float: right;
    text-decoration: none;
}

.btn-add:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(124, 45, 92, 0.2);
    color: white;
}

.btn-cancel {
    border: 1px solid #999;
    border-radius: 6px;
    padding: 6px 14px;
    font-weight: 200;
    transition: all 0.3s ease;
    color: #999;
    font-size: 14px;
    float: right;
    text-decoration: none;

}

/* User Cards */
.user-detail-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.user-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
}

.user-info-icon {
    width: 30px;
    height: 30px;
    background-color: #e9ecef;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.user-info-icon i {
    font-size: 14px;
    color: #666;
}

.user-info-content {
    display: flex;
    flex-direction: column;
}

.user-info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.user-info-value {
    font-size: 13px;
    color:#333;
    font-weight: 500;
}

.stats-card {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stats-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stats-value {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}
.order-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);

}

.order-header {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.order-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.filter-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.filter-btn:hover {
    background: #f8f9fa;
}

.see-all-btn {
    background: #f0e6ff;
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}


.order-table {
    width: 100%;
    font-size: 13px;
    border-top: 2px solid #f5f5f5;
}

.order-table th {
    color: #666;
    font-weight: 500;
    padding: 20px;
    text-align: left;
    background: #fafbfc;
}

.order-table select {
   border: none;
   background: transparent;
   font-size: 11px;
   padding: 0;
   margin-left: 5px;
   cursor: pointer;
}

.tab-navigation {
   border-bottom: 1px solid #e9ecef;
   margin-bottom: 20px;
   display: flex;
   gap: 30px;
}

.tab-link {
    padding: 10px 0;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-link.active {
    color: #333;
    border-bottom-color: var(--primary-color);
    font-weight: 500;
}


.profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #dee2e6;
    border-radius: 50%;
    margin-top: 40px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #999;
    font-weight: 500;
    white-space: nowrap;
}

.info-value {
    color: #333;
    font-weight: 600;
    text-align: right;
}

.badge-department {
    display: inline-block;
    padding: 5px 12px;
    background: #f0e6f0;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.icon-circle {
    width: 32px;
    height: 32px;
    background-color: #f0f2f5;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.icon-circle i {
    font-size: 14px;
    color: #666;
}

.info-label {
    display: flex;
    align-items: center;
}


.user-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.btn-action {
    flex: 1;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
}

.btn-action:hover {
    transform: translateY(-2px);
    color: #666;
    text-decoration: none;
}

.btn-action.edit {
    color: #2196F3;
    border-color: #2196F3;
}

.btn-action.edit:hover {
    background: #ced4db;
    color: #2196F3;
    text-decoration: none;
}

.btn-action.delete {
    background-color: white;
    border-color: #f44336;
    font-size: 12px;
}

.btn-action.delete:hover {
    background: #ffebee;
    color: #f44336;
    text-decoration: none;
}

.btn-action i {
    font-size: 12px;
}

.btn-add-image {
    background-color: #f0e6ff;
    color: #8a3ffc;
    border: 1px;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    width: 100%;
    display: inline-block;
    box-sizing: birder-box;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.circle-center {
    width: 120px;
    height: 120px;
    color: white;
    font-size: 48px;
    font-weight: bold;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: auto;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}
.mobile-menu-btn:hover {
    background: #6f2ecc;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: inline-block !important;
    }

    .button-group {
        flex-direction: row;
        align-items: center;
    }
}


/* Form styling */
.form-control {
    border: 1px solid #dee2e6;
    color: #333;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f8f9fa inset !important;
    -webkit-text-fill-color: #333 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-select option[value=""] {
    color: #999;
}
.form-select:invalid {
    color: #999 !important;
}

.form-select option {
    color:#333;
}

.form-select {
    border: 1px solid #dee2e6;
    color: #333 !important;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    color: #333 !important;
    border-color: #8a3ffc;
    box-shadow: 0 0 0 0.2rem rgba(138, 63, 252, 0.15);
    background-color: white;
    outline: none;
}

.form-control::placeholder {
    color: #999;
    font-size: 14px;
}


.form-label {
    font-weight: 500;
    color: #525252;
    margin-bottom: 8px;
    font-size: 14px;
}

.card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

/* Button Styling */
.btn-purple-custom {
    background-color: var(--primary-color);
    color: #f0e6ff;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    width: 100%;
}

.btn-purple-custom:hover {
    background-color: var(--primary-dark);
    color: #ffffff;
    border-color: var(--primary-dark);
}

.btn-purple-custom:focus,
.btn-purple-custom:active {
    background-color: #6d30cc;
    color: #ffffff;
    border-color: #6d30cc;
    box-shadow: 0 0 0 0.2rem rgba(138, 63, 252, 0.25);
}

.image-preview-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px;
    background-color: var(--main-bg);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
}

select.form-control,
select.form-select {
     appearance: none;
     -webkit-appearance: none;
     -moz-appearance: none;
     background-image: none;
     padding-right: 40px;
}

select.form-control::-ms-expand,
select.form-select::-ms-expand {
    display: none;
  }
}


.btn-filter {
    background-color: white;
    border: 1px solid #999;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #999;
    float: right;
    display: inline-flex;
}
.btn-filter:hover {
    background-color: #f8f9fa !important;
    border-color: #adb5bd !important;
    color: #495057;
}

.forgot-password-link {
    font-size: 10px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #8a3ffc;
    text-decoration: underline;
}

.forgot-password-link i {
    margin-right: 5px;
}