/* ============================================
   TICKETALAY - Profile Page Styles
   ============================================ */

/* Profile Header */
.profile-header {
    text-align: center;
    padding: 1.5rem 0 2rem;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(237, 28, 36, 0.3);
}

.avatar-initials {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.avatar-edit-btn:hover {
    background: var(--gray-50);
    border-color: var(--primary);
}

.avatar-edit-btn svg {
    color: var(--gray-600);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.profile-email {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.profile-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #f9a825 100%);
    color: var(--gray-900);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.profile-member-badge svg {
    color: var(--gray-900);
}

/* Points Summary Card */
.points-summary-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
}

.points-item {
    text-align: center;
}

.points-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.points-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.points-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* Profile Sections */
.profile-section {
    margin-bottom: 1.5rem;
}

/* Info Card */
.info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

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

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--gray-500);
}

.info-content {
    flex: 1;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.125rem;
}

.info-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-900);
}

/* Quick Links */
.quick-links {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    color: var(--gray-900);
    transition: background 0.2s ease;
}

.quick-link-item:last-child {
    border-bottom: none;
}

.quick-link-item:hover {
    background: var(--gray-50);
}

.quick-link-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1) 0%, rgba(253, 219, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-link-icon svg {
    color: var(--primary);
}

.quick-link-item span {
    flex: 1;
    font-weight: 500;
}

.quick-link-arrow {
    color: var(--gray-400);
}

/* Settings List */
.settings-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-info svg {
    color: var(--gray-500);
}

.settings-info span {
    font-weight: 500;
    color: var(--gray-900);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Logout Button */
.logout-btn {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline-danger {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-danger:hover {
    background: var(--primary);
    color: white;
}

/* App Version */
.app-version {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-400);
    padding-bottom: 6rem;
}

/* Responsive */
@media (min-width: 480px) {
    .points-summary-card {
        padding: 1.5rem 2rem;
    }
    
    .points-value {
        font-size: 1.5rem;
    }
}
