/* Profile Completion Section Styles */
.profile-completion-container {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-completion-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.profile-completion-container:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

/* Progress Section */
.profile-progress-section {
    margin-bottom: 2rem;
}

.profile-progress-info h4 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-progress-info h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border-radius: 2px;
}

.profile-progress-bar {
    width: 100%;
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
}

.profile-progress-fill {
    height: 100% !important;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%) !important;
    border-radius: 6px !important;
    transition: width 0.8s ease !important;
    position: relative !important;
    /* Removido width: 0% !important; para permitir que o inline style funcione */
}

.profile-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.profile-progress-text {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Missing Fields Section */
.profile-missing-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--warning-bg);
    border-radius: 8px;
    border: 1px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

.profile-missing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--warning-color);
    transition: all 0.3s ease;
}

.profile-missing-section:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--warning-color);
}

.profile-missing-section h5 {
    color: var(--warning-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-missing-section h5::before {
    content: '⚠️';
    font-size: 1.2rem;
}

.profile-missing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-missing-list li {
    color: var(--text-color);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.profile-missing-list li i {
    color: var(--warning-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Profile Photo Section */
.profile-photo-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--info-bg);
    border-radius: 8px;
    border: 1px solid var(--info-color);
    position: relative;
    overflow: hidden;
}

.profile-photo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--info-color);
    transition: all 0.3s ease;
}

.profile-photo-section:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--info-color);
}

.profile-photo-warning {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-photo-warning i {
    color: var(--info-color);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--info-color-rgb), 0.1);
    border-radius: 50%;
}

.profile-photo-text h5 {
    color: var(--info-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-photo-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Actions Section */
.profile-actions {
    text-align: center;
}

.profile-actions .btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.profile-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

.profile-actions .btn:active {
    transform: translateY(0);
}

.profile-actions .btn i {
    font-size: 1.1rem;
}

/* Empty State */
.profile-completion-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.profile-completion-empty::before {
    content: '👤';
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-completion-container {
        padding: 1.5rem;
    }
    
    .profile-progress-info h4 {
        font-size: 1.1rem;
    }
    
    .profile-photo-warning {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-photo-warning i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-completion-container {
        padding: 1rem;
    }
    
    .profile-missing-section,
    .profile-photo-section {
        padding: 1rem;
    }
    
    .profile-progress-info h4 {
        font-size: 1rem;
    }
    
    .profile-progress-text {
        font-size: 1rem;
    }
}

/* Dark Theme Support */
body.dark .profile-completion-container {
    background: var(--card-bg-dark);
    border-color: var(--border-color-dark);
}

body.dark .profile-missing-section {
    background: rgba(var(--warning-color-rgb), 0.1);
}

body.dark .profile-photo-section {
    background: rgba(var(--info-color-rgb), 0.1);
}

/* Animation */
.profile-completion-container {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Animation */
.profile-progress-fill {
    animation: progressFill 1s ease-out;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: var(--progress-width); }
}

/* Fallback para garantir que a barra seja visível */
.profile-progress-fill[style*="width"] {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%) !important;
    height: 100% !important;
    border-radius: 6px !important;
}

/* ==========================================================================
   Tema Padrão Pessoal - Profile
   ========================================================================== */

.theme-default-personal-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--section-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.theme-default-personal-section .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.theme-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.theme-preview-personal {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.theme-preview-personal .preview-item {
    flex: 1;
    max-width: 200px;
}

.theme-preview-personal .preview-light,
.theme-preview-personal .preview-dark {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
}

.theme-preview-personal .preview-light.active,
.theme-preview-personal .preview-dark.active {
    opacity: 1;
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.theme-preview-personal .preview-light {
    background: #ffffff;
    border-color: #e9ecef;
}

.theme-preview-personal .preview-dark {
    background: #2d2d2d;
    border-color: #404040;
}

.theme-preview-personal .preview-header {
    padding: 0.75rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid;
    font-size: 0.875rem;
}

.theme-preview-personal .preview-light .preview-header {
    background: #f8f9fa;
    color: #495057;
    border-bottom-color: #e9ecef;
}

.theme-preview-personal .preview-dark .preview-header {
    background: #404040;
    color: #ffffff;
    border-bottom-color: #555555;
}

.theme-preview-personal .preview-content {
    padding: 1rem;
}

.theme-preview-personal .preview-light .preview-content {
    background: #ffffff;
}

.theme-preview-personal .preview-dark .preview-content {
    background: #2d2d2d;
}

.theme-preview-personal .preview-card {
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.theme-preview-personal .preview-light .preview-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.theme-preview-personal .preview-dark .preview-card {
    background: #404040;
    border: 1px solid #555555;
}

.theme-preview-personal .preview-text {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
}

.theme-preview-personal .preview-light .preview-text {
    color: #333333;
}

.theme-preview-personal .preview-dark .preview-text {
    color: #ffffff;
}

.theme-preview-personal .preview-button {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.625rem;
    font-weight: 600;
    text-align: center;
}

.theme-preview-personal .preview-light .preview-button {
    background: #007bff;
    color: #ffffff;
}

.theme-preview-personal .preview-dark .preview-button {
    background: #00e09b;
    color: #000000;
}

/* Responsive para tema padrão pessoal */
@media (max-width: 768px) {
    .theme-preview-personal {
        flex-direction: column;
    }
    
    .theme-preview-personal .preview-item {
        max-width: 100%;
    }
    
    .theme-default-personal-section {
        padding: 1rem;
    }
} 

/* Profile Completion Celebration Styles */
.profile-completion-celebration {
    background: var(--card-color);
    border: 2px solid var(--accent-color);
    border-radius: 1rem;
    padding: 2rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: celebrationPulse 2s ease-in-out infinite;
}

.profile-completion-celebration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color) 80%, white) 100%);
    animation: celebrationProgress 2s ease-out;
}

.celebration-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.celebration-icon {
    background: var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    animation: celebrationBounce 1s ease-in-out infinite;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.celebration-content {
    text-align: left;
}

.celebration-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--accent-color);
}

.celebration-message {
    font-size: 1rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.4;
}

.celebration-progress {
    margin: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.celebration-progress-bar {
    background: var(--border-color);
    border-radius: 9999px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.celebration-progress-fill {
    background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color) 80%, white) 100%);
    height: 100%;
    border-radius: 9999px;
    animation: celebrationProgress 2s ease-out;
    box-shadow: 0 0 10px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.celebration-progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.celebration-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.badge-item {
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-color) 20%, transparent);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: color-mix(in srgb, var(--accent-color) 15%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color) 20%, transparent);
}

.badge-item i {
    font-size: 1rem;
    color: var(--accent-color);
}

.celebration-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.celebration-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.celebration-actions .btn-outline-primary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.celebration-actions .btn-outline-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.celebration-actions .btn-success {
    background: #28a745;
    border: 2px solid #28a745;
    color: white;
}

.celebration-actions .btn-success:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Animations */
@keyframes celebrationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

@keyframes celebrationBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes celebrationProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-completion-celebration {
        padding: 1.5rem;
    }
    
    .celebration-header {
        flex-direction: column;
        text-align: center;
    }
    
    .celebration-content {
        text-align: center;
    }
    
    .celebration-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .celebration-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .celebration-actions .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Dark mode adjustments */
body.dark .profile-completion-celebration {
    background: var(--card-color);
    border-color: var(--accent-color);
}

body.dark .celebration-progress-fill {
    background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color) 60%, white) 100%);
}

/* Version update for cache busting */
/* Profile Completion CSS v2.3 - Fixed text spacing issue */ 