:root {
    --hupgo-primary: #007782;
    --hupgo-bg: #e6f5f5;
    --light-gray: #f8f9f9;
    --red: #ff4d4f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.photo-upload-container {
    max-width: 650px;
    margin: 130px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.photo-upload-container h2 {
    font-size: 2.3rem;
    color: #333;
    margin-bottom: 10px;
}



.photo-upload-container p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}


.loading-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.loading-modal-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #007782;
    font-family: "Lobster", sans-serif;
}
.loading-modal-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}
.loading-modal-content i {
    color: #007782;
    font-size: 32px;
}
.progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.progress-bar div {
    flex: 1;
    height: 4px;
    background-color: #ddd;
    margin: 0 2px;
}

.progress-bar .active {
    background-color: var(--red);
}

.photo-drop-area {
    margin-bottom: 20px;
}

.res-drop-area {
    border: 2px dashed var(--hupgo-primary);
    background-color: var(--hupgo-bg);
    padding: 28px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.res-drop-area:hover {
    background-color: #cdecec;
}

.res-drop-area i {
    font-size: 36px;
    color: var(--hupgo-primary);
    margin-bottom: 12px;
}

.res-drop-area p {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.photo-select-btn {
    background-color: #007782;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.photo-tip {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.uploaded-images {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    max-width: 100%;
}

.uploaded-image {
    position: relative;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
    border-radius: 8px;
}





.uploaded-image:hover img {
    transform: scale(1.05);
}


.sortable-ghost {
    opacity: 0.4;
    border: 2px dashed #007782;
}
.lobster-regular {
    font-family: 'Lobster', cursive;
    font-weight: 400;
    font-size: 1.4rem;
}

.bree-serif {
    font-family: 'Bree Serif', serif;
    font-size: 1.4rem;
}

.slogan-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.7rem;
}

.continue-button {
    width: 100%;
    background-color: #ccc;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: not-allowed;
}

.continue-button:not(:disabled) {
    background-color: var(--hupgo-primary);
    cursor: pointer;
}

.continue-button:not(:disabled):hover {
    background-color: #005f66;
}

.ai-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ai-modal-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ai-modal-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--hupgo-primary);
    font-family: "Lobster", sans-serif;
}

.ai-modal-content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 16px;
}

.ai-loader i {
    color: var(--hupgo-primary);
}

.cover-label {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background-color: var(--hupgo-primary);
    color: white;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    z-index: 1;
}



.custom-alert {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4f;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9999;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ✅ Daha modern, Hupgo uyumlu modal stilleri */
.how-it-works-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.how-it-works-modal-content {
    background-color: #f8f9f9;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 28px 24px 50px;
    font-family: 'Bree Serif', serif;
    height: auto; /* ✅ Yüksekliği içeriğe göre */
}

.how-it-works-slide {
    display: none;
    text-align: center;
}

.how-it-works-slide.active {
    display: block;
}

.how-it-works-slide h4 {
    font-size: 18px;
    background-color: #e6f5f5; /* Buz mavisi */
    color: #000; /* Siyah yazı */
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 14px;
    display: inline-block;
}


.how-it-works-slide p {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.how-it-works-slide img {
    width: 80%;
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.how-it-works-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #007782;
    background-color: white;
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.how-it-works-prev {
    left: 10px;
}

.how-it-works-next {
    right: 10px;
}

.how-it-works-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 20px;
    color: #777;
    cursor: pointer;
}

.remove-image, .rotate-image {
    position: absolute;
    background: rgba(148, 148, 148, 0.5);
    color: white;
    border: none;
    border-radius: 2px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    z-index: 2;
}

.remove-image {
    top: 4px;
    right: 4px;
}

.rotate-image {
    bottom: 4px;
    right: 4px;
}



.how-it-works-close:hover {
    color: #333;
}

.how-it-works-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--hupgo-primary);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}




@media (max-width: 768px) {
    .uploaded-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .uploaded-image {
        width: 75px;
        height: 75px;
    }
}



@media (max-width: 480px) {
    .photo-upload-container {
        padding: 16px;
    }

    .photo-upload-container h2 {
        font-size: 20px;
    }

    .res-drop-area p {
        font-size: 13px;
    }

    .photo-select-btn {
        font-size: 14px;
    }

    .uploaded-images {
        grid-template-columns: repeat(2, 1fr);
    }
    .uploaded-image {
        width: 60px;
        height: 60px;
    }
}