.srb-wrapper {
    max-width: 900px;
    margin: 1.5em auto;
    font-family: inherit;
}

.srb-legend {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 0.75em;
    font-size: 0.9em;
}

.srb-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.srb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.srb-dot-public {
    background: #3182ce;
}

.srb-dot-private {
    background: #e53e3e;
}

#srb-calendar {
    margin-bottom: 2em;
    background: #fff;
    padding: 0.5em;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.srb-wrapper h3 {
    margin-top: 1em;
    text-align: center;
}

.srb-instructions {
    font-size: 0.9em;
    color: #555;
    margin-top: -0.5em;
    margin-bottom: 1em;
    text-align: center;
}

.srb-form {
    max-width: 480px;
    margin: 0 auto 1.5em auto;
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.srb-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25em;
}

/* Honeypot-kenttä: piilotettu ihmisiltä mutta botit näkevät sen ja saattavat täyttää sen */
.srb-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.srb-checkbox-row label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.srb-form input[type="text"],
.srb-form input[type="email"],
.srb-form input[type="tel"],
.srb-form input[type="datetime-local"],
.srb-form textarea {
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.srb-form button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 0.7em 1.4em;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

.srb-form button:hover {
    background: #135e96;
}

.srb-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.srb-message {
    padding: 0.75em 1em;
    border-radius: 4px;
    margin: 0 auto 1em auto;
    max-width: 480px;
}

.srb-message.srb-success {
    background: #e5f6e5;
    border: 1px solid #7cc17c;
    color: #1f5f1f;
}

.srb-message.srb-error {
    background: #fbe5e5;
    border: 1px solid #d98b8b;
    color: #7a1f1f;
}
