
/* === COLORI DI BASE E TEMA === */
body {
    background-color: #fffde7;
    background-image:
            radial-gradient(circle at 10% 20%, #fdd835 30px, transparent 31px),
            radial-gradient(circle at 90% 40%, #fdd835 40px, transparent 41px),
            radial-gradient(circle at 50% 90%, #fdd835 25px, transparent 26px);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #2c3e50;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* === LOGO === */
.logo {
    margin: 30px auto 20px auto;
    max-width: 400px;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .logo {
        max-width: 70%;
        margin-top: 20px;
    }
}

/* === CONTAINER E LAYOUT === */
.container-custom, .email-container {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 30px;
}
.form-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* === BOTTONI === */
.btn-ncfn {
    background-color: #e1d035;
    border: none;
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px 40px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 40px;
}
.btn-ncfn:hover {
    background-color: #e1d035;
    color: #000;
}
.btn-checkout {
    color: #fff;
    background-color: #eb5da1;
}
.btn-checkout:hover {
    color: #fff;
    background-color: #eb5da1;
}

/* === BADGE PERSONALIZZATO === */
.big-badge {
    font-size: 1.25rem;
    padding: 10px 20px;
    border-radius: 1rem;
}

/* === CARD === */
.card-custom {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card-header {
    background-color: #e1d035 !important;
    color: #000 !important;
}
.card-checkout {
    background-color: #eb5da1 !important;
    color: #fff !important;
}
.highlight-box {
    background-color: #efefef;
    color: #000;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* === CONTENUTI EMAIL === */
.content {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}
.content strong {
    color: #2c3e50;
}
.footer {
    margin-top: 40px;
    font-size: 13px;
    text-align: left;
    color: #777;
}
.footer img {
    max-width: 300px;
    height: auto;
}

/* === DATA TABLES PERSONALIZZATI (se usati) === */
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    font-size: 0.9rem;
}

/* === SELEZIONE TESTO === */
::selection {
    background: #fdd835;
    color: #000;
}

/* === FLOATING CIRCLES === */

.floating-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.circle {
    position: absolute;
    border-radius: 50%;
    background-color: #fdd835;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}
.c1 { width: 80px; height: 80px; top: 10%; left: 20%; animation-delay: 0s; }
.c2 { width: 100px; height: 100px; top: 30%; left: 70%; animation-delay: 5s; }
.c3 { width: 60px; height: 60px; top: 70%; left: 40%; animation-delay: 10s; }
.c4 { width: 90px; height: 90px; top: 50%; left: 10%; animation-delay: 15s; }

@keyframes float {
    0%   { transform: translateY(0) translateX(0); }
    50%  { transform: translateY(-20px) translateX(10px); }
    100% { transform: translateY(0) translateX(0); }
}