@font-face {
    font-family: 'MontserratRegular';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MontserratBold';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: relative;
    z-index: 100;
}

.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}



/* Logo styles */
.site-logo-img {
    height: 60px; /* Adjust based on your logo's aspect ratio */
    width: auto;
    display: block;
}

/* Center navigation */
.site-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-garlands {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: calc(100% + 150px);
    width: 100%;
    pointer-events: none;
    background:
            url('https://adventskalender.matrix-gruppe.de/wp-content/uploads/2025/11/Christmas-Wreath-PNG.png') left top no-repeat,
            url('https://adventskalender.matrix-gruppe.de/wp-content/uploads/2025/11/Christmas-Wreath-PNG.png') right top no-repeat;
    background-size: 15% auto, 15% auto;
    background-position: -5% top, calc(100% + 5%) top;
    z-index: 5;
}

/* Login button styles */
.login-button {
    display: inline-block;
    background: linear-gradient(145deg, #dc143c 0%, #b01030 100%);
    color: white;
    border: 3px solid #ffd700;
    padding: 12px 28px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '🎅';
    margin-right: 8px;
    font-size: 1.1rem;
}

.login-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.login-button:hover {
    background: linear-gradient(145deg, #b01030 0%, #8b0a24 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
    border-color: #fff;
}

.login-button:hover::after {
    left: 100%;
}

.login-button:active {
    transform: translateY(-1px);
}
/* Make the header responsive */
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .site-navigation {
        position: static;
        transform: none;
        margin: 1rem 0;
    }

    .login-button {
        margin-top: 1rem;
    }

}

body {
    background: linear-gradient(135deg, #0f5132 0%, #1a6b44 100%);
    margin: 0;
    padding: 0;
    font-family: 'MontserratRegular', sans-serif;
    min-height: 100vh;
}

.posts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.advent-header {
    text-align: center;
    margin-bottom: 50px;
}

.advent-header h1 {
    color: #fff;
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.advent-header p {
    color: #ffd700;
    font-size: 1.3rem;
    margin: 0;
    font-style: italic;
}

.christmas-message {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1426 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width:1200px
}

.christmas-message p {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.6;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    aspect-ratio: 1;
    position: relative;
    background: linear-gradient(145deg, #dc143c 0%, #b01030 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    border: 4px solid #ffd700;
    overflow: hidden;
}


.post-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: #fff;
}

/* State 1: Locked/Future Door - Darker, grayed out */
.post-card.door-locked {
    background: url("../images/door_closed.png");
    background-size: contain; /* or cover - try both to see which looks better */
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    border-color: #999;
    cursor: not-allowed;
}

.post-card.door-locked::before {
    background-image: url("../images/door_closed.png");
    background-size: contain; /* or cover - try both to see which looks better */
    background-position: center;
    background-repeat: no-repeat;
}

.post-card.door-locked::after {
    background: linear-gradient(90deg, #888 0%, #666 100%);
}

.post-card.door-locked:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-color: #999;
}

.post-card.door-locked .post-link {
    pointer-events: none;
}

.post-card.door-locked .post-link::after {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 10;
    opacity: 0.5;
}

/* State 2: Current Day Door - Animated, glowing, pulsing */
.post-card.door-current {
    background-image: url("../images/door_closed.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #dc143c; /* fallback color */
    border: 5px solid #ffd700;
    box-shadow:
            0 8px 20px rgba(0,0,0,0.4),
            0 0 30px rgba(255, 215, 0, 0.6),
            0 0 50px rgba(255, 215, 0, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

.post-card.door-current::before,
.post-card.door-current::after {
    /* Keep or remove ribbons - your choice */
    display: none; /* Remove this line if you want to keep the ribbons */
}

.post-card.door-current:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow:
            0 15px 35px rgba(0,0,0,0.5),
            0 0 40px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.6);
}

.post-card.door-current .door-number {
    animation: bounce 1s ease-in-out infinite;
    background: #fff;
    color: #dc143c;
}

.post-card.door-current .door-number::before {
    animation: bounce 1s ease-in-out infinite, spin 3s linear infinite;
}
/* State 3: Opened/Completed Door - Green checkmark, subtle */
.post-card.door-opened {
    background-image: url("../images/door_opened.png");
    background-size: contain; /* or cover - try both to see which looks better */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #28a745; /* fallback color behind the image */
    border-color: #20c997;
    opacity: 0.9;
}

.post-card.door-opened:hover {
    transform: translateY(-5px) scale(1.02);
    opacity: 1;
}

.post-card.door-opened .post-link::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 60px;
    font-size: 2.5rem;
    color: #fff;
    background: #28a745;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    z-index: 5;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
                0 8px 20px rgba(0,0,0,0.4),
                0 0 30px rgba(255, 215, 0, 0.6),
                0 0 50px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow:
                0 8px 20px rgba(0,0,0,0.4),
                0 0 40px rgba(255, 215, 0, 0.8),
                0 0 70px rgba(255, 215, 0, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes ribbon-shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.post-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.door-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #0f5132;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 3px solid #fff;
}

.post-title {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 600;
    padding-top: 30px;
}

.snowflake {
    position: fixed;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.7;
    pointer-events: none;
    z-index: 9999;
}

.visitor-message {
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    padding: 60px 20px;
    background: rgba(220, 20, 60, 0.3);
    border-radius: 20px;
    border: 3px solid #ffd700;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .advent-header h1 {
        font-size: 2.5rem;
    }

    .post-title {
        font-size: 1rem;
    }
}


.anleitung {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(145deg, #dc143c 0%, #b01030 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    border: 3px solid #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.anleitung::before {
    content: '📖';
    margin-right: 8px;
    font-size: 1.2rem;
}

.anleitung::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.anleitung:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
    border-color: #fff;
}

.anleitung:hover::after {
    left: 100%;
}


/* Anleitungseite */

.anleitung-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* PARCHMENT CARD */
.anleitung-card {
    background:
        /* subtle texture */
            radial-gradient(circle at 20% 20%, rgba(255,245,220,0.45), rgba(240,220,190,0.35)),
            radial-gradient(circle at 80% 80%, rgba(255,255,240,0.5), rgba(240,220,190,0.3)),
            linear-gradient(135deg, #f3e5c1, #e8d4a9);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    border: 5px solid #d1b37c;
    position: relative;
    overflow: hidden;
    background-blend-mode: multiply;
}

.anleitung-card::before {
    content: '🎄';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 200px;
    opacity: 0.06;
    transform: rotate(15deg);
}

.anleitung-card::after {
    content: '🎁';
    position: absolute;
    bottom: -40px;
    left: -40px;
    font-size: 180px;
    opacity: 0.06;
    transform: rotate(-15deg);
}

.anleitung-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.anleitung-header h1 {
    color: #8b0000;
    font-size: 3rem;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(80, 0, 0, 0.15);
}

.anleitung-header .subtitle {
    color: #4a5c32;
    font-size: 1.3rem;
    font-style: italic;
    margin: 0;
}

.intro-text {
    color: #4a3b2f;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.section-title {
    color: #8b0000;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, #8b0000, #d4b06b);
    border-radius: 2px;
}

/* PARCHMENT INNER SECTIONS */
.section-content {
    background:
            linear-gradient(145deg, #fdf7e6, #faeecf);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #8b0000;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.1);
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-content li {
    color: #4a3b2f;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.section-content li::before {
    content: '🎅';
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.section-content li:nth-child(2)::before {
    content: '⏰';
}

.section-content li:nth-child(3)::before {
    content: '✨';
}

.section-content li:nth-child(4)::before {
    content: '🚫';
}

.prize-section .section-content li::before {
    content: '🏆';
}

.prize-section .section-content li:nth-child(2)::before {
    content: '🎁';
}

.access-section .section-content {
    background: linear-gradient(135deg, #f5e6c5 0%, #f0dcb2 100%);
    border-left: 5px solid #d4b06b;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.1);
}

.access-section .section-content li::before {
    content: '📧';
}

.highlight-box {
    background: linear-gradient(135deg, #8b0000 0%, #600000 100%);
    color: #fff;
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.2rem;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.3);
}

.highlight-box strong {
    color: #ffd700;
    font-size: 1.3rem;
}

.closing-message {
    text-align: center;
    font-size: 1.2rem;
    color: #4a3b2f;
    margin: 40px 0 30px;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.team-signature {
    text-align: center;
    color: #8b0000;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.copyright {
    text-align: center;
    color: #5a4a3b;
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #cbb693;
    position: relative;
    z-index: 1;
}

.decorative-divider {
    text-align: center;
    font-size: 2rem;
    margin: 30px 0;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .anleitung-card {
        padding: 30px 25px;
    }

    .anleitung-header h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-content {
        padding: 20px;
    }

    .section-content li {
        font-size: 1rem;
        padding-left: 35px;
    }
}



/*

SINGLE PAGE STYLE

*/


.site-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

article {
    position: relative;
    /* more space inside the frame */
    padding: 60px 60px;

    background:
            radial-gradient(circle at 0 0, rgba(255,255,255,0.4), transparent 55%),
            radial-gradient(circle at 100% 100%, rgba(255,255,240,0.5), transparent 55%),
            linear-gradient(135deg, #f5e6c5, #e6cf9f);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    overflow: visible;
    border-radius: 10px;
}

/* full Rahmen.png on top */
article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://adventskalender.matrix-gruppe.de/wp-content/uploads/2025/11/Rahmen.png')
    center / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

/* make actual content sit above the frame */
article > * {
    position: relative;
    z-index: 1;
}

article::after {
    content: '⭐';
    position: absolute;
    bottom: -40px;
    left: -40px;
    font-size: 180px;
    opacity: 0.06;
    transform: rotate(-15deg);
    pointer-events: none;
}

.entry-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 0;
    border: none;
}

.entry-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #8b0000; /* Christmas red */
    margin: 0;

    /* White outline */
    text-shadow:
            -2px -2px 0 #ffffff,
            2px -2px 0 #ffffff,
            -2px  2px 0 #ffffff,
            2px  2px 0 #ffffff;
}

.entry-meta {
    color: #4a5c32;
    font-size: 1.2rem;
    font-style: italic;
}

.entry-meta .posted-on {
    background: linear-gradient(135deg, #fdf7e6 0%, #f0dcb2 100%);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    border: 2px solid #d1b37c;
}

.entry-meta .posted-on::before {
    content: '📅 ';
    margin-right: 5px;
}


.entry-content {
    position: relative;
    padding: 0;          /* article handles spacing */
    background: none;
    box-shadow: none;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    color: #8b0000;
    margin-top: 35px;
    margin-bottom: 20px;
}

.entry-content h2 {
    font-size: 2rem;
    padding-left: 20px;
}

.entry-content h3 {
    font-size: 1.6rem;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Geschenk-Liste im Parchment-Stil */
.entry-content ul {
    list-style: none;
    padding-left: 0;
}

.entry-content ul li {
    padding-left: 40px;
    position: relative;
}


.entry-content a {
    color: #8b0000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: #b01030;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    margin: 30px 0;
}

/* Blockquote auf Pergament */
.entry-content blockquote {
    background: linear-gradient(145deg, #fdf7e6, #faeecf);
    border-left: 5px solid #8b0000;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
    color: #5a4a3b;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.08);
}

.entry-content blockquote::before {
    content: '"';
    color: #8b0000;
    font-size: 3rem;
    line-height: 0;
    margin-right: 10px;
}

.entry-content code {
    background: #f7f0dd;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #8b0000;
    font-size: 0.95em;
}

/* Dark code block bleibt dunkel für Lesbarkeit */
.entry-content pre {
    background: #2d2d2d;
    color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.entry-content pre code {
    background: transparent;
    color: #f8f9fa;
    padding: 0;
}

/* Tabellen im Pergament-Look */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.entry-content table th {
    background: #8b0000;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.entry-content table td {
    padding: 15px;
    border-bottom: 1px solid #cbb693;
}

.entry-content table tr:nth-child(even) {
    background: #f7eed7;
}

.entry-content table tr:nth-child(odd) {
    background: #fdf7e6;
}

.entry-content table tr:hover {
    background: #f0e2b8;
}

/* WordPress blocks styling */
.entry-content .wp-block-button__link {
    background: #8b0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    border: 3px solid #d1b37c;
    transition: all 0.3s ease;
}

.entry-content .wp-block-button__link:hover {
    background: #b01030;
    transform: translateY(-3px);
}

/* No post found message */
.site-main > p {
    text-align: center;
    color: #4a3b2f;
    font-size: 1.5rem;
    padding: 60px 20px;
    background:
            radial-gradient(circle at 10% 0%, rgba(255,245,220,0.6), rgba(240,220,190,0.4)),
            linear-gradient(135deg, rgba(243,229,193,0.95), rgba(232,212,169,0.95));
    border-radius: 20px;
    border: 3px solid #d1b37c;
}

@media (max-width: 768px) {
    article {
        padding: 50px 35px;
    }

    article::before{
        background: none;
    }

    .entry-title {
        font-size: 2.2rem;
    }

    .entry-content {
        font-size: 1.05rem;
    }

    .entry-content h2 {
        font-size: 1.6rem;
    }
}

/* === WPForms – Parchment Style === */

/* Remove extra box look around the form */
.wpforms-container .wpforms-form {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Center each field container */
.wpforms-container .wpforms-field {
    max-width: 500px;        /* adjust to taste (400–600 works great) */
    margin-left: auto;
    margin-right: auto;
    text-align: center;      /* labels and radio items centered */
}

/* Labels */
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description {
    color: #4a3b2f;
    font-weight: 500;
}

/* Optional: inputs slightly narrower inside centered container */
.wpforms-container .wpforms-field input[type="text"],
.wpforms-container .wpforms-field input[type="email"],
.wpforms-container .wpforms-field input[type="url"],
.wpforms-container .wpforms-field input[type="tel"],
.wpforms-container .wpforms-field input[type="number"],
.wpforms-container .wpforms-field select,
.wpforms-container .wpforms-field textarea {
    width: 100%;  /* keep full width inside the 500px container */
    max-width: 100%;
}

/* Placeholder text */
.wpforms-container .wpforms-field input::placeholder,
.wpforms-container .wpforms-field textarea::placeholder {
    color: rgba(74, 59, 47, 0.6);
}

/* Focus state */
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field select:focus,
.wpforms-container .wpforms-field textarea:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 2px rgba(139,0,0,0.15);
}

/* Radio/Checkbox labels (the answer cards) */
.wpforms-container .wpforms-field.wpforms-field-radio ul li label,
.wpforms-container .wpforms-field.wpforms-field-checkbox ul li label {
    background:
            linear-gradient(145deg, #fdf7e6, #faeecf);
    border: 1px solid #d1b37c;
    border-radius: 12px;
    padding: 20px 18px 14px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    cursor: pointer;
}

/* When option is selected */
.wpforms-container .wpforms-field.wpforms-field-radio ul li input:checked + label,
.wpforms-container .wpforms-field.wpforms-field-checkbox ul li input:checked + label {
    border-color: #8b0000;
    box-shadow: 0 0 0 2px rgba(139,0,0,0.2);
}

/* WPForms Submit Button – same style as .login-button, without icon */

.wpforms-container .wpforms-submit,
.wpforms-container input[type="submit"],
.wpforms-container button[type="submit"] {
    display: inline-block !important;
    height: 50px!important;
    background: linear-gradient(145deg, #dc143c 0%, #b01030 100%) !important;
    color: #ffffff !important;
    border: 3px solid #ffd700 !important;
    padding: 12px 28px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3) !important;
    text-align: center !important;
    margin: 0 auto !important;
}
.wpforms-container .wpforms-submit-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
}

/* Make sure the button itself doesn't fight it */
.wpforms-container .wpforms-submit-container .wpforms-submit {
    margin: 0 !important;
    float: none !important;
}

/* Hover effect */
.wpforms-container .wpforms-submit:hover,
.wpforms-container input[type="submit"]:hover,
.wpforms-container button[type="submit"]:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #b01030 0%, #8b0000 100%) !important;
}
/* Error messages in warm red */
.wpforms-container .wpforms-error {
    color: #8b0000;
}