/* Authentication Message Styles */
.alert {
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* User Panel Styles */
.panel_authorized {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user_info {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.user_info span {
    color: #ffd700;
    font-weight: 600;
}

/* Dashboard Styles */
.dashboard-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.user-profile, .quick-actions, .recent-activity {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-info p {
    margin: 10px 0;
    color: #fff;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-buttons a {
    padding: 10px 20px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.action-buttons a:hover {
    background: #ffed4e;
}

/* Password Eye and Checkbox Enhancements */
.password_eye {
    cursor: pointer;
    transition: opacity 0.3s ease;
    user-select: none;
}

.password_eye:hover {
    opacity: 0.8 !important;
}

.password_eye:active {
    transform: scale(0.95);
}

/* Checkbox styling */
input[type="checkbox"] {
    cursor: pointer;
    accent-color: #ffd700;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    accent-color: #ffd700;
}

input[type="checkbox"]:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Label styling for checkboxes */
.box_checkbox label {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.box_checkbox label:hover {
    color: #ffd700;
}

/* Form validation styles */
.form-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

/* Profile Menu Styles */
.profile_menu {
    position: relative;
    display: inline-block;
}

.profile_menu_button {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}


.user_name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user_status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
}

.user_status img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user_name_view {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon_dropdown {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}

.profile_menu_button:focus .icon_dropdown,
.profile_menu_button:hover .icon_dropdown {
    transform: rotate(180deg);
}

.profile_menu_button:focus + .dropdown_list,
.profile_menu_button:hover + .dropdown_list,
.profile_menu:focus-within .dropdown_list,
.profile_menu:hover .dropdown_list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_list {
    position: absolute;
    top: 10%;
    right: 0;
    background: #1a1a2e;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.profile_menu_list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.profile_menu_item {
    display: flex;
    align-items: center;
    /* gap: 12px; */
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.profile_menu_item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile_menu_item span {
    flex: 1;
    text-align: left;
}

.dropdown_list:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.img_box {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.img_box svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* User Money Styles */
.user_money {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0;
}

.img_user_money {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user_money_count {
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
}

.button_add {
    margin: 0;
}

.btn_approve_small {
    padding: 0px 30px;
    color: #000;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
    transition: background-color 0.3s;
    background-color: #62c23c;
    box-shadow: 0 3px 0 0 #3c7028, 0 4px 4px 0 #000;
    
}

/* Updated Panel Authorized */
.panel_authorized {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Help Button Styles */
.btn_help {
    margin: 0;
    padding: 8px 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .panel_authorized {
        flex-direction: column;
        gap: 10px;
    }
    
    .user_info {
        text-align: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons a {
        text-align: center;
    }
} 