.sw-cc-intro {
    max-width: 640px;
    margin: 2em auto 1em;
    font-family: inherit;
    line-height: 1.5;
}
.sw-cc-intro h2 {
    margin: 0 0 0.75em;
    line-height: 1.2;
}
.sw-cc-intro p { margin: 0 0 1em; }

.sw-cc-form {
    max-width: 480px;
    margin: 1em auto 2em;
    font-family: inherit;
}
.sw-cc-form p { margin-bottom: 1em; }
.sw-cc-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25em;
}
.sw-cc-form input[type="text"],
.sw-cc-form input[type="email"] {
    width: 100%;
    padding: 0.6em;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
.sw-cc-form small {
    display: block;
    margin-top: 0.25em;
    color: #666;
    font-size: 0.85em;
}
.sw-cc-form .sw-cc-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.5em;
    font-weight: 400;
}
.sw-cc-form .sw-cc-consent input {
    margin-top: 0.2em;
}
.sw-cc-form button {
    background: #111;
    color: #fff;
    border: 0;
    padding: 0.75em 1.5em;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}
.sw-cc-form button:hover { background: #333; }

/* Honeypot: hidden from real users, present in DOM for bots */
.sw-cc-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sw-cc-error {
    padding: 0.75em 1em;
    background: #fde8e8;
    border-left: 4px solid #c33;
    margin-bottom: 1em;
    color: #611;
}
.sw-cc-notice {
    padding: 0.75em 1em;
    background: #eef2f7;
    border-left: 4px solid #5a7;
    margin-bottom: 1em;
}
.sw-cc-success {
    max-width: 480px;
    margin: 2em auto;
    padding: 1.5em;
    background: #f0f9f3;
    border: 1px solid #b6dac2;
    border-radius: 6px;
    text-align: center;
}
.sw-cc-success .sw-cc-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.4em;
    font-weight: 700;
    padding: 0.5em 1em;
    background: #fff;
    border: 1px dashed #5a7;
    border-radius: 4px;
    display: inline-block;
    margin: 0.5em 0;
    user-select: all;
}
