/* Profile page specific styles - Variables moved to base.css */

/* Profile Header - Matching Figma Design */
.profile-header {
    margin-bottom: 2.5rem;
}

.profile-title {
    color: var(--Text-Yellow, #FFCE76);
    text-align: center;
    
    /* 5XL Heading 1 */
    font-family: "Space Grotesk";
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0.75rem;
}

.profile-subtitle {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

/* Figma Glass Button Style for Profile */
.btn-figma-glass-profile {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.06) 100%), 
                linear-gradient(0deg, #C21 0%, #F41 48.43%, #F72 95.39%), 
                rgba(255, 255, 255, 0.01);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.20);
    border-radius: 8px;
    padding: 14px 48px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 9px 0 rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-figma-glass-profile:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.08) 100%), 
                linear-gradient(0deg, #A01 0%, #E30 48.43%, #F61 95.39%), 
                rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 5px 9px 0 rgba(255, 255, 255, 0.12) inset,
                0 8px 16px rgba(255, 68, 17, 0.3);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-figma-glass-profile:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px 0 rgba(255, 255, 255, 0.08) inset;
}

.btn-figma-glass-profile:focus {
    outline: none;
    box-shadow: 0 5px 9px 0 rgba(255, 255, 255, 0.08) inset,
                0 0 0 3px rgba(17, 181, 240, 0.3);
}

.btn-figma-glass-profile:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 5px 9px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Section styling */
.section-title {
    color: var(--text-accent);
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
}

.section-divider {
    border-color: var(--glass-border);
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

/* Form styling (inherits from base template) */
.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.error-text {
    color: #ff6b6b;
}

/* Custom form input styling */
.phone-input-custom .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.phone-input-custom .input-group-text {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 500;
}

.phone-input-custom .form-control {
    border-left: 0;
}

.phone-input-custom .form-control:focus {
    border-left: 0;
}

.phone-input-custom .input-group:focus-within .input-group-text {
    border-color: var(--text-accent);
}

/* Location input custom styling */
.location-input-custom .row {
    margin: 0;
}

.location-input-custom .col-md-7,
.location-input-custom .col-md-5 {
    padding-left: 0;
    padding-right: 0.5rem;
}

.location-input-custom .col-md-5 {
    padding-right: 0;
}

.location-input-custom .form-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.location-input-custom .mt-2 {
    margin-top: 0.75rem !important;
}

.location-input-custom .text-muted {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
}

/* Completion item styling */
.completion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.completion-item:hover {
    background: var(--glass-hover);
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.completion-item span {
    flex: 1;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Color classes for completion items */
.success-color {
    color: #20c997 !important;
}

.warning-color {
    color: var(--gradient-gold) !important;
}

/* Alert styling override */
.alert {
    background: rgba(255, 193, 7, 0.1) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    color: var(--text-primary) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Profile sections */
.profile-section {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.profile-section:hover {
    background: var(--glass-hover);
}

/* Enhanced button styling */
.btn-primary {
    padding: 0.875rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Loading state for form */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Enhanced card styling */
.card {
    margin-bottom: 2rem;
}

.card-title {
    color: var(--text-accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Secondary Button Style (Figma Modal Style) */
.btn-secondary-modal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.75);
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary-modal:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.btn-secondary-modal:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary-modal:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Modal Footer Button Layout */
.modal-footer .d-grid {
    gap: 1rem !important;
}

.modal-footer .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .profile-section {
        padding: 0.75rem;
    }
}