.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
}

.auth-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 450px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo-truck  img{
    max-width: 100px;
}




.auth-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #444;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background-color: #fff;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--color-primary, #0056b3);
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* User Menu Header Component */
.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.user-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-name {
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.user-role {
    font-size: 11px;
    color: var(--brand-orange, #f39c12);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.user-menu-wrapper:hover .user-icon-btn {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.user-menu-wrapper:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #222;
    text-decoration: none;
}

.dropdown-item i {
    font-size: 15px;
    width: 16px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

.text-danger {
    color: #dc3545 !important;
}

.text-danger:hover {
    color: #c82333 !important;
    background: #fff5f5;
}

.btn-full {
    width: 100%;
    padding: 14px;
    background-color: var(--color-primary, #0056b3);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
    margin-top: 15px;
}

.btn-full:hover {
    background-color: #004494;
}

.btn-full:active {
    transform: translateY(1px);
}

.auth-link {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
    color: #555;
}

.auth-link a {
    color: var(--color-primary, #0056b3);
    font-weight: 600;
    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-error {
    background-color: #fdf3f4;
    color: #d92550;
    border: 1px solid #fad7dd;
}

.alert-success {
    background-color: #f2f9f4;
    color: #2e8b57;
    border: 1px solid #d3ebd9;
}

:root {
    --bg-card2: #f8f9fa;
    --border: #e9ecef;
    --text-muted: #6c757d;
    --brand-orange: #f39c12;
}
