/* Popup Overlay */
.iscents-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iscentsFadeIn 0.3s ease;
}

@keyframes iscentsFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Popup Container */
.iscents-popup-container {
    background: #fff;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: iscentsSlideUp 0.4s ease;
}

@keyframes iscentsSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Close Button */
.iscents-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.iscents-popup-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Content */
.iscents-popup-content {
    padding: 40px 30px;
    text-align: center;
}

/* Heading */
.iscents-popup-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px;
    line-height: 1.3;
}

/* Subheading */
.iscents-popup-subheading {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px;
}

/* Form Fields */
.iscents-popup-field {
    margin-bottom: 12px;
}

.iscents-popup-field input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.iscents-popup-field input:focus {
    outline: none;
    border-color: #dc9d2f;
}

/* Submit Button */
.iscents-popup-button {
    width: 100%;
    padding: 14px;
    background: #dc9d2f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 5px;
}

.iscents-popup-button:hover {
    background: #c48a1f;
}

.iscents-popup-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Micro Copy */
.iscents-popup-micro-copy {
    font-size: 12px;
    color: #999;
    margin: 12px 0 0;
}

/* Success Message */
.iscents-popup-success {
    text-align: center;
    padding: 20px 0;
}

.iscents-popup-success-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
}

.iscents-popup-success p {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* Body Lock */
body.iscents-popup-open {
    overflow: hidden;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .iscents-popup-container {
        max-width: 92%;
        margin: 20px;
    }
    
    .iscents-popup-content {
        padding: 30px 20px;
    }
    
    .iscents-popup-heading {
        font-size: 24px;
    }
}