/* Multi-Photo Upload Styles - Compiled from SCSS */

.profile-mode-selection {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-mode-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 576px) {
    .profile-mode-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 768px) {
    .profile-mode-grid {
        gap: 40px;
    }
}

.profile-mode-card {
    position: relative;
    display: block;
    padding: 30px 20px;
    background-color: #ffffff;
    box-shadow: 0px 12px 36px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 576px) {
    .profile-mode-card {
        padding: 40px 30px;
    }
}

@media (min-width: 768px) {
    .profile-mode-card {
        padding: 50px 40px;
    }
}

.profile-mode-card:hover,
.profile-mode-card:focus {
    transform: translateY(-5px);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.profile-mode-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f4ff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

@media (min-width: 576px) {
    .profile-mode-card-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
    }
}

.profile-mode-card-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

@media (min-width: 576px) {
    .profile-mode-card-icon img {
        width: 50px;
        height: 50px;
    }
}

.profile-mode-card h4 {
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    color: #1a1d23;
    text-align: center;
}

@media (min-width: 576px) {
    .profile-mode-card h4 {
        font-size: 26px;
        line-height: 32px;
    }
}

.profile-mode-card p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 24px;
    color: #6b7280;
    text-align: center;
}

@media (min-width: 576px) {
    .profile-mode-card p {
        font-size: 18px;
        line-height: 28px;
    }
}

.profile-mode-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-mode-card-arrow .arrow-icon {
    font-size: 14px;
    color: #3b82f6;
}

/* Multi-Photo Upload - Utilise les styles hero-upload existants */
/* Pas besoin de redéfinir les styles de base, ils sont déjà dans _hero.scss */

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

@media (min-width: 576px) {
    .photo-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) {
    .photo-preview-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
    }
}

.photo-preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.photo-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.photo-preview-item-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .photo-preview-item-image {
        height: 150px;
    }
}

.photo-preview-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-preview-item .photo-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.photo-preview-item .photo-remove-btn:hover {
    background-color: #dc2626;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.photo-preview-item .photo-remove-btn i {
    font-size: 12px;
}

/* Add More Photos Card */
.photo-preview-item.add-more-card {
    background-color: #f8fafc;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

@media (min-width: 576px) {
    .photo-preview-item.add-more-card {
        min-height: 150px;
    }
}

.photo-preview-item.add-more-card:hover {
    background-color: #f0f4ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.photo-preview-item.add-more-card i {
    transition: transform 0.3s ease;
}

.photo-preview-item.add-more-card:hover i {
    transform: scale(1.1);
}

/* Photo Counter */
.photo-counter {
    text-align: center;
    margin: 20px 0;
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

.photo-counter strong {
    font-size: 18px;
    font-weight: 700;
}

.multi-photo-actions {
    text-align: center;
    margin-top: 30px;
}

.multi-photo-actions .btn {
    margin-bottom: 20px;
}

.results-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 576px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 992px) {
    .results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}

.result-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 12px 36px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.result-item-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .result-item-image {
        height: 350px;
    }
}

.result-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.result-item-image .result-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 29, 35, 0.8) 0%,
        rgba(26, 29, 35, 0.4) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.result-item-image .result-overlay .btn {
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.result-item-image:hover .result-overlay {
    opacity: 1;
    transition: all 0.3s ease;
}

.result-item-image:hover .result-overlay .btn {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.result-item-info {
    padding: 20px;
}

.result-item-info h5 {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #1a1d23;
}

.result-item-info p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
}

.results-actions {
    text-align: center;
}

.results-actions-main {
    margin-bottom: 40px;
}

.results-actions-main .btn {
    margin-bottom: 20px;
}

.results-actions-secondary {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (min-width: 576px) {
    .results-actions-secondary {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}

.watermark-notice {
    padding: 20px;
    background-color: #f0f4ff;
    border-radius: 12px;
    border: 1px solid #3b82f6;
    margin-top: 20px;
}

.watermark-notice p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
}

/* Modern Multi-Step Questionnaire */
.profile-questionnaire {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.profile-questionnaire .questionnaire-container {
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 50px 40px 40px;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .profile-questionnaire .questionnaire-container {
        padding: 35px 15px 20px;
        border-radius: 20px;
        max-height: 95vh;
    }
}

/* Progress Bar */
.questionnaire-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
}

@media (max-width: 576px) {
    .questionnaire-progress {
        padding: 12px 15px;
    }
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: 33.33%;
}

.progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

/* Skip Button */
.questionnaire-skip {
    position: absolute;
    top: 20px;
    right: 40px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 10;
}

@media (max-width: 576px) {
    .questionnaire-skip {
        right: 15px;
        top: 12px;
        font-size: 13px;
        padding: 6px 10px;
    }
}

.questionnaire-skip:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

/* Question Steps */
.question-step {
    display: none;
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-step.active {
    display: block;
}

.question-step.exiting {
    animation: slideOutLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

/* Question Header */
.question-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
}

.question-header h3 {
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: #1a1d23;
    margin: 0;
}

@media (max-width: 576px) {
    .question-header h3 {
        font-size: 20px;
        line-height: 26px;
    }
}

.btn-back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

@media (max-width: 576px) {
    .btn-back {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 15px;
    }
    
    .question-header {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 576px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Option Cards */
.option-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #3b82f6;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.15);
}

.option-card:hover::before {
    opacity: 1;
}

.option-card:active {
    transform: translateY(-2px) scale(1.01);
}

.option-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.option-card.selected::before {
    opacity: 1;
}

.option-icon {
    font-size: 48px;
    margin-bottom: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.option-card:hover .option-icon {
    transform: scale(1.15);
}

@media (max-width: 576px) {
    .option-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
}

.option-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: #1a1d23;
    margin-bottom: 8px;
}

@media (max-width: 576px) {
    .option-title {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 6px;
    }
}

.option-desc {
    font-size: 14px;
    line-height: 20px;
    color: #6b7280;
    margin: 0;
}

@media (max-width: 576px) {
    .option-desc {
        font-size: 12px;
        line-height: 16px;
    }
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .option-card {
        padding: 16px 14px;
    }
}

@media (max-width: 576px) {
    .profile-mode-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .photo-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .results-actions-secondary {
        flex-direction: column;
        gap: 12px;
    }
}

}




