/* Profile Dropdown Styles */

/* Small Avatar in Navbar */
.profile-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b70003 0%, #8b0002 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    color: white;
    box-shadow: 0 4px 8px rgba(183, 0, 3, 0.3);
    transition: all 0.3s ease;
}

.profile-dropdown-toggle:hover .profile-avatar-small {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(183, 0, 3, 0.5);
}

/* Dropdown Avatar */
.profile-avatar-dropdown {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b70003 0%, #8b0002 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(183, 0, 3, 0.4);
    margin: 0 auto;
}

/* ========================================
   Profile Dropdown Menu - Modern Design
   ======================================== */

.profile-dropdown-menu {
    min-width: 320px !important;
    width: 320px !important;
    max-height: none !important;
    height: auto !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    padding-bottom: 0.5rem !important;
    margin-top: 0.75rem !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

/* Dropdown Header - Modern Card Style */
.profile-dropdown-menu .dropdown-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: none !important;
    padding: 1.5rem 1.25rem !important;
    margin: 0 !important;
    text-align: center !important;
}

.profile-dropdown-menu .dropdown-header h6 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.3px !important;
}

.profile-dropdown-menu .dropdown-header small {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.875rem !important;
    font-weight: 400 !important;
}

/* Dropdown Items - Clean & Modern */
.profile-dropdown-menu .dropdown-item {
    padding: 1rem 1.25rem !important;
    margin: 0.25rem 0.75rem !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    background-color: #ffffff !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    border: 2px solid transparent !important;
    width: calc(100% - 1.5rem) !important;
    box-sizing: border-box !important;
}

.profile-dropdown-menu .dropdown-item i {
    width: 20px !important;
    height: 20px !important;
    font-size: 1.1rem !important;
    color: #1a1a1a !important;
    margin-right: 0.75rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover States - Smooth & Modern */
.profile-dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa !important;
    border-color: #b70003 !important;
    color: #b70003 !important;
    transform: translateX(4px) !important;
}

.profile-dropdown-menu .dropdown-item:hover i {
    color: #b70003 !important;
    transform: scale(1.1) !important;
}

.profile-dropdown-menu .dropdown-item:active {
    transform: scale(0.98) !important;
}

/* Logout Item - Special Styling */
.profile-dropdown-menu .logout-item {
    color: #1a1a1a !important;
    margin-top: 0.5rem !important;
    border-top: 1px solid #e9ecef !important;
    padding-top: 1rem !important;
}

.profile-dropdown-menu .logout-item i {
    color: #1a1a1a !important;
}

.profile-dropdown-menu .logout-item:hover {
    background-color: #fff5f5 !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.profile-dropdown-menu .logout-item:hover i {
    color: #dc3545 !important;
}

/* Dropdown Divider - Subtle */
.profile-dropdown-menu .dropdown-divider {
    margin: 0.75rem 0.5rem !important;
    border-color: #e9ecef !important;
    opacity: 1 !important;
}

/* List Items */
.profile-dropdown-menu li {
    display: block !important;
}

/* Additional Padding for Better Spacing */
.profile-dropdown-menu > li:first-child {
    margin-bottom: 0.5rem !important;
}

.profile-dropdown-menu > li:last-child {
    margin-bottom: 0.5rem !important;
}

/* List Items */
.profile-dropdown-menu li {
    display: block !important;
}

/* Additional Padding for Better Spacing */
.profile-dropdown-menu > li:first-child {
    margin-bottom: 0.5rem !important;
}

.profile-dropdown-menu > li:last-child {
    margin-bottom: 0.5rem !important;
}

/* Profile Page Redesign */

/* Profile Header Card */
.profile-header-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(183, 0, 3, 0.3);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.profile-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, #b70003 0%, #8b0002 100%);
    opacity: 0.1;
}

/* Large Profile Avatar */
.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b70003 0%, #8b0002 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 3rem;
    color: white;
    box-shadow: 0 8px 24px rgba(183, 0, 3, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.profile-avatar-large::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #b70003, #ff4444);
    opacity: 0.3;
    animation: profilePulse 3s infinite;
    z-index: -1;
}

@keyframes profilePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Profile Action Button */
.profile-edit-btn {
    background: linear-gradient(135deg, #b70003 0%, #8b0002 100%);
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(183, 0, 3, 0.3);
}

.profile-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 0, 3, 0.5);
    background: linear-gradient(135deg, #d10003 0%, #a00002 100%);
    color: white;
}

.profile-edit-btn i {
    transition: transform 0.3s ease;
}

.profile-edit-btn:hover i {
    transform: rotate(90deg);
}

/* Profile Info Cards */
.profile-info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.profile-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(183, 0, 3, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.profile-info-card .card-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-info-card .card-title i {
    font-size: 1.3rem;
    color: #b70003;
}

.profile-info-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.profile-info-value {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.profile-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* Badge Styling */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.badge-active {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .profile-dropdown-menu {
        min-width: 260px;
    }

    .profile-header-card::before {
        height: 80px;
    }
}
