/* Custom Success Modal Styles */
/* Centered, sleek modal for form submission success */

.form-success-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 30000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    /* Dark transparent background */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.success-modal-content {
    background: #1a1a1a !important;
    margin: auto;
    padding: 30px !important;
    border: 1px solid rgba(181, 156, 110, 0.4) !important;
    width: 90%;
    max-width: 450px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(181, 156, 110, 0.2);
    position: relative;
    animation: fadeInModal 0.3s ease-out;
    color: #e0e0e0 !important;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    border: 2px solid #25D366;
}

.success-icon-wrapper i {
    font-size: 40px;
    color: #25D366;
}

.success-title {
    font-size: 1.8rem;
    color: #b59c6e !important;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-message {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.success-btn {
    background: linear-gradient(135deg, #b59c6e, #9c8359);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(181, 156, 110, 0.4);
}