@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

.pufc-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pufc-overlay.active {
    display: flex;
    opacity: 1;
}

.pufc-modal {
    background: #FCE6F2;
    padding: 50px;
    border-radius: 30px;
    width: 90%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(113, 0, 22, 0.15);
    font-family: 'Outfit', sans-serif;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(113, 0, 22, 0.1);
}

.pufc-overlay.active .pufc-modal {
    transform: scale(1) translateY(0);
}

.pufc-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(113, 0, 22, 0.05);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #710016;
    line-height: 1;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pufc-close-btn:hover {
    background: #710016;
    color: #ffffff;
    transform: rotate(90deg);
}

.pufc-content h2 {
    margin-top: 0;
    font-size: 32px;
    color: #710016;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -0.5px;
}

.pufc-content p {
    color: #8a5a6a;
    font-size: 17px;
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.5;
}

.pufc-field {
    margin-bottom: 18px;
}

.pufc-field input,
.pufc-field select {
    width: 100%;
    padding: 14px 20px;
    border: 1.5px solid rgba(113, 0, 22, 0.1);
    border-radius: 16px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.8);
    color: #4a000e;
}

.pufc-field input::placeholder {
    color: #bfa5ae;
}

.pufc-field input:focus,
.pufc-field select:focus {
    border-color: #710016;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(113, 0, 22, 0.1);
    outline: none;
}

.pufc-submit-btn {
    width: 100%;
    padding: 16px;
    background: #710016;
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 10px 20px -5px rgba(113, 0, 22, 0.3);
}

.pufc-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(113, 0, 22, 0.4);
    background: #8b001b;
}

.pufc-submit-btn:active {
    transform: translateY(-1px);
}

.pufc-response {
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.pufc-response.success {
    color: #710016;
    padding: 10px;
    background: rgba(113, 0, 22, 0.05);
    border-radius: 12px;
}

.pufc-response.error {
    color: #d00000;
}

/* Loading state */
.pufc-submit-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;
}