.lssg-form {

    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 4px;
}

.lssg-form .form-field {
    margin-bottom: 1.5em;
}

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

.lssg-form input[type="text"],
.lssg-form input[type="email"],
.lssg-form input[type="tel"],
.lssg-form textarea,
.lssg-form select {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.lssg-form textarea {
    min-height: 100px;
    resize: vertical;
}

.lssg-form .required {
    color: #dc3232;
    margin-left: 0.25em;
}

.lssg-form .submit-button {
    background: #0073aa;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lssg-form .submit-button:hover {
    background: #005177;
}

.lssg-form .message {
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
}

.lssg-form .message.success {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.lssg-form .message.error {
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.lssg-form .loading {
    opacity: 0.5;
    pointer-events: none;
}

.lssg-form-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9998;
}

.lssg-form-modal {
    box-sizing: border-box;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    z-index: 9999;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
}

.lssg-form-modal .lssg-form {
    margin: 0;
    padding: 0;
}

.lssg-form-modal form {
    margin: 0;
    padding: 0;
}

.lssg-form-modal::-webkit-scrollbar {
    width: 8px;
}

.lssg-form-modal::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 4px;
}

.lssg-form-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
}

.lssg-form-modal-close:hover {
    color: #222;
}

@media (max-width: 600px) {
    .lssg-form-modal {
        max-width: 98vw;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        border-radius: 0.7rem;
    }
    .lssg-form-modal-close {
        top: 0.7rem;
        right: 1rem;
        font-size: 1.5rem;
    }
}

body.lssg-modal-open {
    overflow: hidden;
}

.lssg-form .success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 16px 0;
    font-size: 1.1em;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    opacity: 0;
    animation: lssg-fadein 0.6s forwards;
    transition: background 0.3s, color 0.3s;
}

@keyframes lssg-fadein {
    to { opacity: 1; }
} 