.iqtrank-form-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.iqtrank-form-container h2 {
    color: #202b3d;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.iqtrank-form-container .form-group {
    margin-bottom: 15px;
}

.iqtrank-form-container input,
.iqtrank-form-container select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    font-size: 16px;
    background-color: #f8fafc;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: #4a5568;
    box-sizing: border-box;
}

.iqtrank-form-container input:focus,
.iqtrank-form-container select:focus {
    outline: none;
    border-color: #00a3ff;
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.1);
}

.iqtrank-form-container button {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: linear-gradient(90deg, #00a3ff 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px rgba(0, 163, 255, 0.2);
}

.iqtrank-form-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 163, 255, 0.3);
}

.iqtrank-form-container button:active {
    transform: translateY(0);
}

#form-response {
    margin-top: 20px;
    font-weight: 500;
}

#form-response.success { color: #27ae60; }
#form-response.error { color: #e74c3c; }

/* Public Success Modal */
.iqtrank-public-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iqtrank-public-modal-content {
    background: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    width: 450px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    animation: modalAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.iqtrank-success-icon {
    font-size: 70px;
    color: #27ae60;
    margin-bottom: 20px;
}

.iqtrank-public-modal-content h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 800;
}

.iqtrank-public-modal-content p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.iqtrank-btn-close {
    background: #00a3ff;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iqtrank-btn-close:hover {
    background: #0088d6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 163, 255, 0.2);
}
