.azform{--az-navy:#102d55;--az-blue:#1769d2;--az-cyan:#13b9d5;--az-green:#159447;max-width:820px;background:#fff;color:#172b45;padding:28px;border:1px solid #e3eaf1;border-radius:14px;box-shadow:0 8px 30px rgba(16,45,85,.07);font-family:inherit}
.azform-field{margin:0 0 24px}.azform-field>label,.azform-terms>strong{display:block;font-weight:700;margin:0 0 9px;color:var(--az-navy);font-size:15px}
.azform input:not([type=checkbox]):not([type=radio]):not([type=file]),.azform textarea,.azform select{box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#172b45;font-size:15px;outline:none}
.azform input:focus,.azform textarea:focus,.azform select:focus{border-color:var(--az-cyan);box-shadow:0 0 0 3px rgba(19,185,213,.13)}
.azform-name,.azform-phone{display:grid;grid-template-columns:1fr 1fr;gap:12px}.azform-phone{grid-template-columns:minmax(125px, .35fr) 1fr}
.azform-choice{display:block;margin:10px 0;color:#334155;font-weight:400}.azform-choice input{accent-color:var(--az-green);margin-right:8px}
.azform-required{color:#d92d20}.azform-terms{background:#f5f8fc;border-left:4px solid var(--az-cyan);padding:16px;border-radius:8px;margin:26px 0}
.azform-terms>div{margin:10px 0 14px;line-height:1.6;color:#475569}.azform button{background:linear-gradient(110deg,var(--az-blue),var(--az-cyan));border:0;border-radius:7px;padding:13px 25px;color:#fff;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 5px 14px rgba(23,105,210,.2)}
.azform button:hover{filter:brightness(.96)}.azform-success{padding:14px 18px;background:#eaf8ef;border:1px solid #b7e4c7;color:#176b36;border-radius:8px;margin:0 0 18px}.azform-honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){.azform{padding:18px}.azform-name{grid-template-columns:1fr}.azform-phone{grid-template-columns:120px 1fr}}

.azform-description{display:block;margin:5px 0 9px;color:#7b8794;font-size:.9em;line-height:1.45}.azform-title{margin:0 0 22px;font-size:1.35em}.azform-field input,.azform-field select,.azform-field textarea{max-width:100%;box-sizing:border-box}

/* Compact, expandable terms and explicit acceptance validation */
.azform-terms-wrap{margin:22px 0 18px;padding:0;border:0}
.azform-terms-details{margin:0 0 14px}
.azform-terms-details summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none;border:1px solid #d5dfeb;border-radius:8px;padding:9px 13px;background:#f5f8fc;color:#173653;font-size:14px;font-weight:600;line-height:1.35}
.azform-terms-details summary::-webkit-details-marker{display:none}
.azform-terms-details summary:after{content:"+";font-size:18px;font-weight:700}
.azform-terms-details[open] summary:after{content:"−"}
.azform-terms-content{max-height:230px;overflow:auto;margin-top:10px;padding:14px 16px;border:1px solid #e0e6ed;border-radius:9px;background:#f8fafc;color:#4b5563;font-size:14px;line-height:1.65;white-space:normal}
.azform-terms-accept{padding:12px 14px;border:1px solid #dce3eb;border-radius:9px;background:#fff;transition:border-color .15s,background .15s}
.azform-terms-label{display:flex!important;align-items:flex-start;gap:10px;margin:0!important;color:#26384d;font-size:15px;font-weight:600;line-height:1.5;cursor:pointer}
.azform-terms-label input[type=checkbox]{width:19px;height:19px;min-width:19px;margin:2px 0 0;accent-color:#159c65;cursor:pointer}
.azform-terms-error{margin:8px 0 0;color:#c62828;font-size:13px;font-weight:600;line-height:1.45}
.azform-terms-wrap.azform-terms-invalid .azform-terms-accept{border:1.5px solid #d93025;background:#fff5f5}
.azform-terms-wrap.azform-terms-invalid .azform-terms-label{color:#b42318}
.azform-terms-wrap.azform-terms-invalid .azform-terms-label input[type=checkbox]{outline:2px solid rgba(217,48,37,.22);outline-offset:2px}
@media(max-width:600px){.azform-terms-content{max-height:190px;padding:12px;font-size:13px}.azform-terms-label{font-size:14px}}

/* Upload control: larger, branded photo picker and thumbnail */
.azform-upload-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.azform-upload-button{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:0 22px!important;border:1px solid #1769d2;border-radius:8px;background:#1769d2;color:#fff!important;font-size:16px!important;font-weight:600!important;line-height:1.2;cursor:pointer;overflow:hidden}
.azform-upload-button:hover{filter:brightness(.94)}
.azform-upload-button input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.azform-file-name{font-size:14px;color:#64748b;overflow-wrap:anywhere}
.azform-file-preview{flex-basis:100%;display:flex;align-items:center;gap:10px;margin-top:4px}
.azform-preview-image{display:block;width:92px;height:92px;object-fit:cover;border:1px solid #d9e1ea;border-radius:9px;background:#f5f7fa;padding:3px}
.azform-preview-file{font-size:13px;color:#526174}
.azform-terms-wrap{display:flex;flex-direction:column;gap:8px}
.azform-terms-details{order:2;margin:0!important}
.azform-terms-details summary{display:inline-flex!important;align-items:center;gap:5px;padding:5px 9px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#526174!important;font-size:12px!important;font-weight:500!important;line-height:1.3!important}
.azform-terms-details summary:after{font-size:13px!important}
.azform-terms-content{max-height:190px!important;font-size:13px!important}
.azform-terms-accept{order:1}
@media(max-width:600px){.azform-upload-button{min-height:48px;padding:0 24px!important;font-size:16px!important}.azform-file-name{font-size:13px}.azform-preview-image{width:84px;height:84px}.azform-terms-details summary{font-size:12px!important;padding:4px 7px!important}}
