/* Lok Maharashtra Pratibha Sanman 2026 - Invite Portal Styles */
.aip-portal-wrapper {
    max-width: 840px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.aip-search-card {
    background: #111111;
    color: #ffffff;
    padding: 38px 28px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.aip-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.aip-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}

.aip-subtitle {
    margin: 0 0 24px;
    font-size: 15px;
    color: #cccccc;
}

.aip-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.aip-input {
    flex: 1 1 300px;
    max-width: 420px;
    padding: 13px 16px;
    font-size: 16px;
    border: 1px solid #333333;
    border-radius: 8px;
    background: #1e1e1e;
    color: #ffffff; !important
    outline: none;
}

.aip-input:focus {
    border-color: #d4af37;
}

.aip-btn {
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #ffff;
    background: #d4af37;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.aip-btn:hover {
    opacity: 0.9;
}

.aip-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.aip-feedback {
    margin-top: 18px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

.aip-error {
    background: rgba(220, 53, 69, 0.18);
    color: #ff808b;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.aip-viewer-container {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.aip-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: #1a1a1a;
    color: #ffffff;
}

.aip-welcome-text {
    font-weight: 600;
    font-size: 15px;
    color: #d4af37;
}

.aip-download-btn {
    background: #d4af37;
    color: #111111 !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.aip-pdf-frame {
    width: 100%;
    height: 780px;
    border: none;
    display: block;
}

@media (max-width: 600px) {
    .aip-pdf-frame {
        height: 540px;
    }
}
