/* ==============================
   ADINOVs Catalogue - Trigger Button
   ============================== */
.adinovs-catalogue-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1a1a4e;
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
    line-height: 1.4;
}

.adinovs-catalogue-trigger:hover {
    background: #2b2b6e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 78, 0.3);
}

.adinovs-catalogue-trigger:active {
    transform: translateY(0);
}

.adinovs-trigger-icon {
    display: flex;
    align-items: center;
}

.adinovs-trigger-icon svg {
    width: 22px;
    height: 22px;
}

/* ==============================
   ADINOVs Catalogue - Popup Overlay
   ============================== */
.adinovs-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.adinovs-popup-overlay.adinovs-visible {
    opacity: 1;
}

/* ==============================
   ADINOVs Catalogue - Popup Container
   ============================== */
.adinovs-popup-container {
    background: #2040c8; /* fallback, overridden by inline dynamic style */
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 540px;
    width: 100%;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.adinovs-popup-overlay.adinovs-visible .adinovs-popup-container {
    transform: translateY(0) scale(1);
}

/* ==============================
   Close Button
   ============================== */
.adinovs-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adinovs-popup-close:hover {
    opacity: 1;
}

/* ==============================
   Content
   ============================== */
.adinovs-popup-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.adinovs-popup-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

/* ==============================
   Form
   ============================== */
.adinovs-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.adinovs-form-group input {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    color: #333;
    background: #ffffff;
    outline: none;
    transition: box-shadow 0.2s;
    box-sizing: border-box;
}

.adinovs-form-group input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

.adinovs-form-group input::placeholder {
    color: #999;
}

.adinovs-form-group input.adinovs-input-error {
    box-shadow: 0 0 0 2px #ff4444;
}

/* ==============================
   Submit Button
   ============================== */
.adinovs-form-submit {
    width: 100%;
    padding: 16px;
    background: #e8690a; /* fallback, overridden by inline dynamic style */
    color: #ffffff;
    border: 2px solid #e8690a; /* fallback */
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.adinovs-form-submit:hover {
    background: #d15e09;
    border-color: #d15e09;
}

.adinovs-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==============================
   Message
   ============================== */
.adinovs-form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.adinovs-form-message.adinovs-msg-error {
    background: rgba(255, 68, 68, 0.2);
    color: #ff8888;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.adinovs-form-message.adinovs-msg-success {
    background: rgba(68, 255, 68, 0.2);
    color: #88ff88;
    border: 1px solid rgba(68, 255, 68, 0.3);
}

/* ==============================
   Footer Text
   ============================== */
.adinovs-popup-footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
    margin: 20px 0 0 0;
}

.adinovs-popup-footer-text .adinovs-link {
    color: #ff8844;
    text-decoration: underline;
}

.adinovs-popup-footer-text .adinovs-link:hover {
    color: #ffaa66;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 600px) {
    .adinovs-popup-container {
        padding: 28px 20px;
        margin: 10px;
    }

    .adinovs-popup-title {
        font-size: 20px;
    }

    .adinovs-popup-desc {
        font-size: 13px;
    }

    .adinovs-form-group input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .adinovs-form-submit {
        font-size: 16px;
        padding: 14px;
    }

    .adinovs-catalogue-trigger {
        font-size: 15px;
        padding: 14px 24px;
    }
}
