#sg-form-wrap {
    max-width: 480px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sg-title {
    font-size: 1.6em;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.sg-field {
    margin-bottom: 15px;
}

.sg-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.sg-required {
    color: #e74c3c;
}

.sg-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.sg-field input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.sg-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sg-btn:hover {
    background: #005f8a;
}

.sg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sg-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
}

.sg-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Thank You Card */

#sg-thankyou {
    text-align: center;
}

.sg-thankyou-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    border: 1px solid #e8f5e9;
}

.sg-checkmark {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.sg-checkmark-svg {
    width: 72px;
    height: 72px;
    display: block;
}

.sg-checkmark-circle {
    stroke: #4caf50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: sg-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.sg-checkmark-check {
    stroke: #4caf50;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: sg-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes sg-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.sg-thankyou-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #2e7d32;
    margin: 0 0 12px;
}

.sg-thankyou-text {
    font-size: 1.1em;
    color: #333;
    margin: 0 0 6px;
}

.sg-thankyou-subtext {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 20px;
}

.sg-thankyou-tip {
    display: inline-block;
    background: #f1f8e9;
    color: #558b2f;
    font-size: 0.9em;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #dcedc8;
}

.sg-tip-icon {
    margin-right: 4px;
}
