/* Sendpress public styles */

.sendpress-form-container {
    margin: 20px 0;
}

.sendpress-form {
    max-width: 100%;
}

.sendpress-form-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.sendpress-form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.sendpress-form-field {
    flex: 1 1 200px;
}

.sendpress-form-field input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: unset;
}

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

.sendpress-submit {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-style: normal;
    font-size: 19px;
    color: #413B0E;
    text-transform: uppercase;
    border: none;
    background: #d3ae00;
    padding: 12px 30px;
    -webkit-transition: .15s;
    -o-transition: .15s;
    transition: .15s;
    width: auto;
    margin-top: 20px;
}


.sendpress-submit:hover {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-style: normal;
    font-size: 19px;
    color: #413B0E;
    text-transform: uppercase;
    border: none;
    background: #DFC404;
    padding: 12px 30px;
    -webkit-transition: .15s;
    -o-transition: .15s;
    transition: .15s;
    width: auto;
    margin-top: 20px;
}

.sendpress-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.sendpress-message.sendpress-success {
    background-color: #ecf8f0;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
    display: block;
}

.sendpress-message.sendpress-error {
    background-color: #fdf0f0;
    color: #dc3545;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Popup styles */
.sendpress-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.sendpress-popup {
    position: relative;
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sendpress-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    line-height: 1;
}

.sendpress-icon-success,
.sendpress-icon-error {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: block;
}

.sendpress-icon-success {
    color: #28a745;
}

.sendpress-icon-error {
    color: #dc3545;
}

.sendpress-popup h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.sendpress-popup p {
    margin-bottom: 20px;
    color: #555;
}

.sendpress-popup-button {
    padding: 10px 20px;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sendpress-popup-button:hover {
    background-color: #005f8b;
}

/* Responsive styles */
@media (max-width: 480px) {
    .sendpress-form-fields {
        flex-direction: column;
    }

    .sendpress-form-field {
        flex: 1 1 auto;
    }
}