﻿.bg-batik-modern {
    background-color: #F9F7F2;
    background-image: radial-gradient(circle at 20% 50%, rgba(197, 160, 89, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 58, 58, 0.06) 0%, transparent 50%), url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C5A059' fill-opacity='0.06'%3E%3Cpath d='M40 40c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm0-12c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.batik-accent {
    position: relative;
    overflow: hidden;
}

    .batik-accent::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10 L60 30 L80 30 L65 42 L70 62 L50 50 L30 62 L35 42 L20 30 L40 30 Z' fill='%23C5A059' fill-opacity='0.1'/%3E%3C/svg%3E") repeat;
        opacity: 0.4;
        pointer-events: none;
    }

/* === ANIMATIONS === */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(197, 160, 89, 0.5);
    }
}

.form-step {
    display: none;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

    .form-step.active {
        display: block;
    }

/* === ENHANCED INPUT STYLING === */
.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2D2A26;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-left: 12px;
}

    .form-label::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 12px;
        background: linear-gradient(135deg, #C5A059, #8B3A3A);
        border-radius: 2px;
    }

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 2px solid #E5E7EB;
    background: linear-gradient(135deg, #FFFFFF 0%, #FEFEFE 100%);
    color: #2D2A26;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

    .form-input:focus {
        background: #FFFFFF;
        border-color: #C5A059;
        box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
        outline: none;
        transform: translateY(-1px);
    }

    .form-input::placeholder {
        color: #9CA3AF;
        font-style: italic;
    }

/* === FILE UPLOAD ZONE === */
.file-zone {
    border: 3px dashed #C5A059;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF8E7 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

    .file-zone::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s;
    }

    .file-zone:hover::before {
        opacity: 1;
    }

    .file-zone:hover {
        border-color: #8B3A3A;
        background: linear-gradient(135deg, #FFF8E7 0%, #FFEDCC 100%);
        transform: scale(1.01);
        box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
    }

/* === STEPPER STYLING === */
.step-connector {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -20px;
    width: 3px;
    background: linear-gradient(180deg, #E5E7EB 0%, #F3F4F6 100%);
    border-radius: 2px;
}

.step-item {
    position: relative;
    z-index: 10;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-active .step-dot {
    background: linear-gradient(135deg, #8B3A3A 0%, #A04848 100%);
    box-shadow: 0 0 0 6px rgba(139, 58, 58, 0.15), 0 4px 16px rgba(139, 58, 58, 0.3);
    transform: scale(1.15);
    animation: glow 2s ease-in-out infinite;
}

.step-active .step-title {
    color: #8B3A3A;
    font-weight: 800;
}

.step-completed .step-dot {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.step-completed .step-title {
    color: #059669;
    font-weight: 600;
}

/* === DECORATIVE ELEMENTS === */
.nusantara-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #C5A059 20%, #8B3A3A 50%, #C5A059 80%, transparent 100%);
    border-radius: 2px;
    position: relative;
}

    .nusantara-divider::before,
    .nusantara-divider::after {
        content: '◆';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #C5A059;
        font-size: 8px;
    }

    .nusantara-divider::before {
        left: 10%;
    }

    .nusantara-divider::after {
        right: 10%;
    }

/* === ENHANCED CARDS === */
.ingredient-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .ingredient-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, #C5A059, #8B3A3A);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .ingredient-card:hover::before {
        opacity: 1;
    }

.step-card {
    animation: fadeIn 0.4s ease-out;
}

    .step-card .step-content {
        background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
        border: 2px solid #E5E7EB;
        border-radius: 16px;
        padding: 1.5rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

        .step-card .step-content::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
/*            width: 60px;
            height: 60px;*/
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 L35 20 L45 20 L37 26 L40 36 L30 30 L20 36 L23 26 L15 20 L25 20 Z' fill='%23C5A059' fill-opacity='0.08'/%3E%3C/svg%3E");
            opacity: 0;
            transition: opacity 0.3s;
        }

        .step-card .step-content:hover::after {
            opacity: 1;
        }

        .step-card .step-content:hover {
            border-color: #C5A059;
            box-shadow: 0 8px 24px rgba(197, 160, 89, 0.15);
            transform: translateX(4px);
        }

/* === BUTTON ENHANCEMENTS === */
.btn-primary {
    background: linear-gradient(135deg, #8B3A3A 0%, #A04848 100%);
    box-shadow: 0 4px 12px rgba(139, 58, 58, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #6D2E2E 0%, #8B3A3A 100%);
        box-shadow: 0 6px 20px rgba(139, 58, 58, 0.4);
        transform: translateY(-2px);
    }

.btn-secondary {
    background: linear-gradient(135deg, #C5A059 0%, #D4B068 100%);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-secondary:hover {
        background: linear-gradient(135deg, #B08F4A 0%, #C5A059 100%);
        box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
        transform: translateY(-2px);
    }

/* === DECORATIVE HEADER === */
.section-header {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

    .section-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #8B3A3A 0%, #C5A059 100%);
        border-radius: 2px;
    }

/* === SCROLLBAR STYLING === */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C5A059 0%, #8B3A3A 100%);
    border-radius: 10px;
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #8B3A3A 0%, #C5A059 100%);
    }

/* === RESPONSIVE IMPROVEMENTS === */
@media (max-width: 768px) {
    .file-zone {
        padding: 1.5rem 1rem;
    }

    .form-input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .step-connector {
        display: none;
    }

    .ingredient-card {
        padding: 1rem;
    }

    .step-card .step-content {
        padding: 1rem;
    }

    .ingredient-row {
        flex-wrap: wrap;
    }

        .ingredient-row input[type="text"]:first-of-type {
            flex: 0 0 100%;
            margin-bottom: 0.5rem;
        }
}

@media (max-width: 640px) {
    .section-header h2 {
        font-size: 1.5rem;
    }

    .step-dot {
        width: 36px;
        height: 36px;
    }

    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}
