/* Podstawowe style */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Barlow Condensed', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Keyframe animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes floatDecoration {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header - buttony nawigacyjne */
.header-buttons {
    position: absolute;
    top: 40px;
    right: 280px;
    display: flex;
    gap: 12px;
    z-index: 10;
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.header-button {
    height: 36px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.header-button:hover {
    transform: scale(1.08) translateY(-2px);
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.header-container {
    position: relative;
}

/* Główny CTA button na granicy sekcji */
.cta-button-container {
    position: absolute;
    bottom: -26px;
    left: 50%;
    z-index: 20;
}

.cta-button {
    height: 52px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
    display: block;
    transform: translateX(-50%);
}

.cta-button:hover {
    transform: translateX(-50%) scale(1.1) translateY(-3px);
    filter: brightness(1.15) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    animation: none;
}

/* Sekcja zasad konkursu */
.zasady-section {
    background-color: #008036;
    position: relative;
    padding: 60px 20px 80px;
}

/* Loga certyfikatów i oznaczeń */
.zasady-logos-top {
    position: absolute;
    top: -60px;
    right: 40px;
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 5;
}

.zasady-logo {
    height: 85px;
    width: auto;
}

.zasady-logo.smaller {
    height: 70px;
}

/* Ikony kroków konkursu */
.step-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    transition: transform 0.4s ease;
}

.step-icon:hover {
    transform: rotate(5deg) scale(1.1);
}

/* Tytuły kroków */
.step-title {
    color: white;
    font-size: 44px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 10px;
}

/* Opisy kroków */
.step-desc {
    color: #f5e6c8;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Przyciski akcji w sekcji zasad */
.step-button {
    background-color: #d32027;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: lowercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    font-size: 17px;
    border: 1px solid white;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.step-button:hover {
    background-color: #b01820;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

/* Sekcja formularza */
.form-section {
    background-color: #008036;
    padding: 60px 20px 80px;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 18px;
    background-color: transparent;
    border: 2px solid #f5e6c8;
    border-radius: 8px;
    color: #f5e6c8;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 18px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9db89d;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
    transform: scale(1.01);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: 'Barlow Condensed', sans-serif;
}

.form-label {
    color: white;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 12px;
    margin-top: 35px;
    display: block;
}

.paragon-input {
    margin-top: 30px !important;
}

.add-receipt-btn {
    background-color: #d32027;
    color: white;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: lowercase;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    margin-bottom: 18px;
    box-shadow: 0 0 15px rgba(211, 32, 39, 0.5);
    will-change: transform;
}

.add-receipt-btn:hover {
    background-color: #b01820;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 0 25px rgba(211, 32, 39, 0.8);
}

.add-receipt-btn:active {
    transform: scale(1.02);
}

.submit-btn {
    background-color: #d32027;
    color: white;
    padding: 15px 60px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    border: 3px solid white;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 30px auto 0;
    letter-spacing: 2px;
    will-change: transform;
}

.submit-btn:hover {
    background-color: #b01820;
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.submit-btn:active {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.required-note {
    color: #f5e6c8;
    font-size: 15px;
    margin-top: 8px;
}

/* Checkboxy */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #f5e6c8;
    font-size: 16px;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    appearance: none;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid #f5e6c8;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked {
    background-color: #f5e6c8;
    border-color: #f5e6c8;
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #008036;
    font-size: 18px;
    font-weight: bold;
}

.checkbox-container input[type="checkbox"]:hover {
    border-color: white;
}

.checkbox-label {
    cursor: pointer;
}

.checkbox-link {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.checkbox-link:hover {
    opacity: 0.8;
}

.consent-info {
    color: #9db89d;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-left: 3px solid #f5e6c8;
}

/* Sekcja produktów */
.products-section {
    background-color: #d3b378;
    background-image: url('../img/dekoracja_1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 80px 20px;
    position: relative;
}

.products-content {
    position: relative;
    z-index: 2;
}

.products-box {
    background-color: #f1dcb1;
    border-radius: 30px;
    padding: 50px 60px;
    margin: 30px auto 0;
    max-width: 1200px;
}

.products-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
}

.product-image {
    width: 208px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-image:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.product-image-small {
    width: 132px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-image-small:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

/* Scale layout for kasza products - bell/mountain shape with size scaling */
.kasza-wave-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 0 20px;
}

.kasza-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.kasza-item.kasza-smallest {
    transform: scale(0.75);
}

.kasza-item.kasza-small {
    transform: scale(0.90);
}

.kasza-item.kasza-medium {
    transform: scale(1.05);
}

.kasza-item.kasza-largest {
    transform: scale(1.20);
}

.kasza-item:hover {
    transform: scale(1.25) !important;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
    z-index: 10;
}

.product-image-medium {
    width: 120px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-image-medium:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.product-image-ryz {
    width: 125px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-image-ryz:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.product-image-ryz-bialy-1 {
    width: 109px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-image-ryz-bialy-1:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.product-image-ryz-bialy-2 {
    width: 161px;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.product-image-ryz-bialy-2:hover {
    transform: scale(1.08) translateY(-5px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.shop-btn {
    background-color: #008036;
    color: white;
    padding: 14px 50px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    letter-spacing: 1px;
    will-change: transform;
}

.shop-btn:hover {
    background-color: #006b2d;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 128, 54, 0.3);
}

.shop-btn:active {
    transform: scale(1.02);
}

/* Footer */
.footer-main {
    background-color: white;
    padding: 40px 20px 20px;
    border-top: 1px solid #e5e5e5;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.footer-social h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    transform: scale(1.15) translateY(-2px);
    opacity: 0.8;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-certifications {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-cert-logo {
    height: 65px;
    width: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #008036;
}

.footer-copyright {
    color: #999;
    font-size: 13px;
}

/* ==========================================
   MOBILE RESPONSIVE STYLES
   ========================================== */

@media screen and (max-width: 768px) {
    
    /* Header - zamiana na mobile i ukrycie przycisków nawigacyjnych */
    header {
        background-image: none !important;
    }
    
    .header-container img[src="img/header_desktop.jpg"] {
        content: url('../img/header_mobile.jpg');
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Ukrycie przycisków nawigacyjnych w headerze */
    .header-buttons {
        display: none !important;
    }
    
    /* CTA button - dostosowanie pozycji */
    .cta-button-container {
        bottom: -20px;
    }
    
    .cta-button {
        height: 42px;
    }
    
    /* Green separator bar */
    .w-full[style*="background-color: #008036"] {
        height: 35px !important;
    }
    
    .w-full[style*="background-color: #008036"] > div {
        height: 35px !important;
    }
    
    /* Sekcja zasad konkursu */
    .zasady-section {
        padding: 40px 15px 50px;
    }
    
    /* Loga certyfikatów */
    .zasady-logos-top {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
        padding-top: 15px;
    }
    
    .zasady-logo {
        height: 60px;
    }
    
    .zasady-logo.smaller {
        height: 50px;
    }
    
    /* Tytuł sekcji */
    .zasady-section h2,
    .form-section h2,
    .products-section h2 {
        font-size: 28px !important;
        padding: 0 10px;
    }
    
    /* Grid kroków - zmiana z 3 kolumn na 1 */
    .zasady-section .grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 20px !important;
    }
    
    .step-icon {
        width: 90px;
        height: 90px;
    }
    
    .step-title {
        font-size: 36px;
    }
    
    .step-desc {
        font-size: 18px;
    }
    
    .step-button {
        width: 160px;
        font-size: 16px;
        padding: 8px 18px;
    }
    
    /* Sekcja formularza */
    .form-section {
        padding: 40px 15px 50px;
    }
    
    .form-section p {
        font-size: 16px !important;
    }
    
    .form-container {
        padding: 0 10px;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    .form-label {
        font-size: 16px;
        margin-top: 25px;
    }
    
    .form-textarea {
        min-height: 120px;
    }
    
    .add-receipt-btn {
        padding: 10px 30px;
        font-size: 16px;
        width: 100%;
    }
    
    .submit-btn {
        padding: 12px 40px;
        font-size: 18px;
        width: 100%;
    }
    
    .checkbox-container {
        font-size: 14px;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 24px;
        height: 24px;
    }
    
    .consent-info {
        font-size: 12px;
        padding: 12px;
    }
    
    /* Sekcja produktów - USUNIĘCIE DEKORACJI */
    .products-section {
        background-image: none !important;
        padding: 50px 15px;
    }
    
    /* Usunięcie inline dekoracji z sekcji Kasze i Ryże */
    section[style*="dekoracja_2.png"],
    section[style*="dekoracja_3.png"] {
        background-image: none !important;
        padding: 50px 15px !important;
        background-size: auto !important;
    }
    
    .products-content {
        padding: 0;
    }
    
    .products-box {
        border-radius: 20px;
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .products-section h2 {
        font-size: 26px !important;
    }
    
    .products-section h3 {
        font-size: 32px !important;
    }
    
    .products-section p {
        font-size: 16px !important;
        padding: 0 15px;
    }
    
    /* Grid produktów Lunchmix */
    .products-grid {
        flex-direction: column;
        gap: 20px;
        margin: 20px 0;
    }
    
    .product-image {
        width: 160px;
    }
    
    /* Kasze - wave container na mobile */
    .kasza-wave-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 10px;
        justify-content: center;
    }
    
    .kasza-item {
        flex: 0 0 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }
    
    .kasza-item.kasza-smallest,
    .kasza-item.kasza-small,
    .kasza-item.kasza-medium,
    .kasza-item.kasza-largest {
        transform: scale(1);
    }
    
    .kasza-item:hover {
        transform: scale(1.1) !important;
    }
    
    .product-image-small {
        width: 100%;
        max-width: 100px;
    }
    
    .product-image-medium {
        width: 100%;
        max-width: 90px;
    }
    
    .product-image-ryz {
        width: 100%;
        max-width: 95px;
    }
    
    /* Ryż biały - 2 produkty */
    .flex.justify-center.gap-6 {
        flex-direction: column;
        gap: 20px !important;
        align-items: center !important;
    }
    
    .product-image-ryz-bialy-1 {
        width: 130px;
    }
    
    .product-image-ryz-bialy-2 {
        width: 180px;
    }
    
    /* Duety */
    .flex.justify-center.gap-4 {
        flex-direction: column;
        gap: 20px !important;
        align-items: center;
    }
    
    .flex.justify-center.gap-4 .product-image {
        width: 160px;
    }
    
    .shop-btn {
        padding: 12px 35px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
    
    /* Footer */
    .footer-main {
        padding: 30px 15px 15px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .footer-social h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-certifications {
        justify-content: center;
    }
    
    .footer-cert-logo {
        height: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
}

/* Dodatkowe style dla bardzo małych ekranów */
@media screen and (max-width: 480px) {
    
    .zasady-section h2,
    .form-section h2,
    .products-section h2 {
        font-size: 24px !important;
    }
    
    .products-section h3 {
        font-size: 28px !important;
    }
    
    .step-title {
        font-size: 32px;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
    }
    
    .kasza-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .products-box {
        padding: 20px 15px;
    }
}

/* ==========================================
   FORMULARZ - UPLOAD PARAGONÓW
   ========================================== */

.receipt-upload-section {
    margin: 25px 0;
}

.receipt-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px dashed #f5e6c8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.receipt-upload-label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: scale(1.02);
}

.receipt-upload-label:active {
    transform: scale(0.98);
}

.receipt-upload-icon {
    font-size: 32px;
}

.receipt-upload-text {
    color: #f5e6c8;
    font-size: 18px;
    font-weight: bold;
}

.receipt-upload-info {
    color: #9db89d;
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
}

/* Podgląd paragonów */
.receipt-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.receipt-preview-item {
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid #f5e6c8;
    border-radius: 8px;
    padding: 8px;
    transition: all 0.3s ease;
}

.receipt-preview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.receipt-preview-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.receipt-preview-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.receipt-preview-name {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.receipt-preview-size {
    color: #9db89d;
    font-size: 12px;
}

.receipt-preview-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background-color: #d32027;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.receipt-preview-remove:hover {
    opacity: 1;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 3px 10px rgba(211, 32, 39, 0.5);
}

/* Loader */
.form-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 128, 54, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-message {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

/* Toast notifications */
.form-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    left: auto;
    max-width: 400px;
    padding: 18px 24px;
    background-color: #008036;
    color: white;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    z-index: 100000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    transform: translateX(450px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid rgba(255, 255, 255, 0.5);
}

.form-toast-visible {
    transform: translateX(0);
}

.form-toast-error {
    background-color: #d32027;
    border-left-color: #fff;
}

.form-toast-success {
    background-color: #008036;
    border-left-color: #4ade80;
}

.form-toast-info {
    background-color: #c9a96e;
    color: #333;
    border-left-color: #f5e6c8;
}

.form-toast span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Thank you message */
.thank-you-message {
    text-align: center;
    padding: 60px 20px;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: #d32027;
    color: white;
    font-size: 60px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-title {
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.thank-you-text {
    color: #f5e6c8;
    font-size: 20px;
    line-height: 1.6;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .receipt-upload-icon {
        font-size: 24px;
    }
    
    .receipt-upload-text {
        font-size: 16px;
    }
    
    .receipt-upload-info {
        font-size: 13px;
    }
    
    .receipt-preview-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .receipt-preview-img {
        height: 120px;
    }
    
    .receipt-preview-remove {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }
    
    .form-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 15px;
        padding: 16px 20px;
        transform: translateY(-150px);
    }
    
    .form-toast-visible {
        transform: translateY(0);
    }
    
    .loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .loader-message {
        font-size: 16px;
    }
    
    .thank-you-icon {
        width: 80px;
        height: 80px;
        font-size: 48px;
    }
    
    .thank-you-title {
        font-size: 26px;
    }
    
    .thank-you-text {
        font-size: 17px;
    }
}

/* ==========================================
   RODO COOKIE BANNER
   ========================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #008036 0%, #006b2d 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid #f5e6c8;
}

.cookie-banner-visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #f5e6c8;
}

.cookie-banner-description {
    font-size: 15px;
    line-height: 1.5;
    color: white;
    margin: 0;
}

.cookie-banner-link {
    color: #f5e6c8;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner-link:hover {
    color: white;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #d32027;
    color: white;
    border: 2px solid #d32027;
}

.cookie-btn-accept:hover {
    background-color: #b01820;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 32, 39, 0.4);
}

.cookie-btn-reject {
    background-color: transparent;
    color: #f5e6c8;
    border: 2px solid #f5e6c8;
}

.cookie-btn-reject:hover {
    background-color: rgba(245, 230, 200, 0.1);
    color: white;
    border-color: white;
    transform: scale(1.05) translateY(-2px);
}

/* Floating settings icon */
.cookie-settings-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #008036;
    color: white;
    border: 2px solid #f5e6c8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
}

.cookie-settings-icon:hover {
    background-color: #006b2d;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive dla cookie banner */
@media screen and (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner-title {
        font-size: 18px;
    }
    
    .cookie-banner-description {
        font-size: 14px;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cookie-settings-icon {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .cookie-settings-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .cookie-banner-title {
        font-size: 16px;
    }
    
    .cookie-banner-description {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}