/* ── InteliSecure Lead Form – Frontend ── */
.isl-wrap {
    max-width: 720px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.isl-header {
    background: linear-gradient(135deg, #1a1f36 0%, #2c3e6b 100%);
    color: #fff;
    padding: 28px 36px 22px;
    text-align: center;
}
.isl-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.isl-header h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.isl-header p { margin: 0; opacity: .85; font-size: .95rem; }
.isl-header strong { color: #7fc3ff; }

/* Form body */
#isl-form { padding: 28px 36px 24px; }

.isl-row {
    display: flex;
    gap: 18px;
    margin-bottom: 0;
}
.isl-row .isl-field { flex: 1; }

.isl-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.isl-field label {
    font-size: .82rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.isl-field input,
.isl-field select,
.isl-field textarea {
    border: 1.5px solid #d4d9e8;
    border-radius: 7px;
    padding: 10px 13px;
    font-size: .97rem;
    color: #222;
    background: #f9fafc;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.isl-field input:focus,
.isl-field select:focus,
.isl-field textarea:focus {
    border-color: #2c3e6b;
    box-shadow: 0 0 0 3px rgba(44,62,107,.10);
    background: #fff;
}
.isl-field textarea { resize: vertical; }

/* Consent */
.isl-consent {
    margin-bottom: 18px;
    font-size: .85rem;
    color: #555;
    line-height: 1.5;
}
.isl-consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.isl-consent input[type=checkbox] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; }
.isl-consent a { color: #2c3e6b; }

/* Button */
.isl-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #2271b1, #1a5694);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
    letter-spacing: .3px;
}
.isl-btn:hover { opacity: .9; transform: translateY(-1px); }
.isl-btn:active { transform: translateY(0); }

/* Disclaimer */
.isl-disclaimer {
    text-align: center;
    font-size: .8rem;
    color: #888;
    margin: 12px 0 0;
}

/* Message box */
.isl-msg {
    padding: 12px 16px;
    border-radius: 7px;
    margin-bottom: 14px;
    font-size: .93rem;
}
.isl-msg.error   { background: #fde8e8; color: #c0392b; border: 1px solid #f5c6c6; }
.isl-msg.success { background: #e6f7ee; color: #1e7e34; border: 1px solid #b2dfcc; }

/* Success box */
.isl-success-box {
    text-align: center;
    padding: 48px 36px;
}
.isl-success-icon { font-size: 3rem; margin-bottom: 16px; }
.isl-success-box h4 { font-size: 1.3rem; margin-bottom: 10px; color: #1a1f36; }
.isl-success-box p  { color: #555; line-height: 1.6; }

/* Responsive */
@media (max-width: 600px) {
    .isl-row      { flex-direction: column; gap: 0; }
    #isl-form     { padding: 20px 18px 18px; }
    .isl-header   { padding: 20px 18px 16px; }
    .isl-header h3 { font-size: 1.15rem; }
}
