/* Don Bosco Alumni public UI */
.dbamp-card{max-width:1100px;margin:24px auto;padding:28px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 30px rgba(15,23,42,.07);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.dbamp-card h2{margin-top:0;color:#12355b}.dbamp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dbamp-grid label{font-weight:600}.dbamp-grid input,.dbamp-grid textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #cbd5e1;border-radius:8px}.dbamp-full{grid-column:1/-1}.dbamp-btn{background:#0b5cab;color:#fff;border:0;border-radius:9px;padding:11px 18px;cursor:pointer}.dbamp-success,.dbamp-error{padding:12px 15px;border-radius:8px;margin-bottom:15px}.dbamp-success{background:#dcfce7;color:#166534}.dbamp-error{background:#fee2e2;color:#991b1b}.dbamp-muted{color:#64748b}.dbamp-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.dbamp-filters input{padding:9px;border:1px solid #cbd5e1;border-radius:8px}.dbamp-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dbamp-person{display:flex;gap:14px;padding:16px;border:1px solid #e2e8f0;border-radius:12px;align-items:center}.dbamp-photo{width:70px;height:84px;object-fit:cover;border-radius:8px;background:#e2e8f0}.dbamp-placeholder{display:flex;align-items:center;justify-content:center;font-weight:800;color:#64748b}.dbamp-person h3{margin:0 0 4px}.dbamp-person p{margin:0 0 4px;color:#475569}.dbamp-profile-photo{width:150px;height:180px;object-fit:cover;border-radius:10px}.dbamp-event{padding:18px 0;border-bottom:1px solid #e2e8f0}.dbamp-event:last-child{border-bottom:0}@media(max-width:850px){.dbamp-grid,.dbamp-directory{grid-template-columns:1fr}.dbamp-full{grid-column:auto}}

.dbamp-profile-actions{text-align:right;margin-bottom:12px}.dbamp-profile-actions .dbamp-btn{display:inline-block;text-decoration:none}.dbamp-profile h2{margin-bottom:8px}@media print{.dbamp-card{box-shadow:none!important;border:0!important;margin:0!important;max-width:none!important}.dbamp-profile-actions{display:none!important}body{background:#fff!important}}

.dbamp-photo-preview{margin-top:10px}.dbamp-photo-preview img{width:100px;height:120px;object-fit:cover;border-radius:8px;border:1px solid #cbd5e1}.dbamp-photo-preview small{display:block;margin-top:5px;color:#64748b}

.dbamp-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}.dbamp-profile-editor{margin-top:24px;padding-top:18px;border-top:1px solid #e5e7eb}.dbamp-profile-editor[hidden]{display:none}.dbamp-profile-editor .dbamp-grid{margin-bottom:12px}.dbamp-profile-editor button{border:0;cursor:pointer}.dbamp-profile-editor #dbamp-profile-status{margin-left:10px;font-weight:600}.dbamp-profile-actions .dbamp-btn{display:inline-block;text-decoration:none}

.dbamp-print-page{max-width:900px;margin:20px auto;background:#fff;border:1px solid #d9dee7;padding:28px;font-family:Arial,sans-serif;color:#172033}.dbamp-print-header{display:flex;align-items:center;gap:20px;border-bottom:3px solid #172033;padding-bottom:16px;text-align:center}.dbamp-print-header>div{flex:1}.dbamp-print-logo{width:85px;height:85px;object-fit:contain}.dbamp-print-header h1{font-size:23px;margin:0 0 5px}.dbamp-print-header p{margin:0 0 10px;font-size:13px}.dbamp-print-header h2{margin:0;font-size:17px;letter-spacing:1px}.dbamp-print-body{display:flex;gap:28px;margin-top:24px}.dbamp-print-photo{width:170px;flex:0 0 170px;text-align:center}.dbamp-print-photo img{width:148px;height:178px;object-fit:cover;border:1px solid #aaa;padding:4px}.dbamp-print-photo-empty{width:148px;height:178px;border:1px dashed #aaa;display:flex;align-items:center;justify-content:center}.dbamp-print-main{flex:1}.dbamp-print-main h2{margin:0 0 4px;font-size:25px}.dbamp-print-id{margin:0 0 15px}.dbamp-print-table{width:100%;border-collapse:collapse;font-size:13px}.dbamp-print-table th,.dbamp-print-table td{border:1px solid #cfd5df;padding:8px;text-align:left;vertical-align:top}.dbamp-print-table th{width:18%;font-weight:700}.dbamp-print-main h3{font-size:15px;margin:18px 0 5px}.dbamp-print-main p{font-size:13px;line-height:1.55}.dbamp-print-footer{border-top:1px solid #ccd2dc;margin-top:30px;padding-top:10px;display:flex;justify-content:space-between;font-size:10px}
@media print{body{background:#fff!important}.dbamp-print-page{max-width:none;margin:0;border:0;padding:12mm;min-height:260mm}.dbamp-print-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}.dbamp-print-footer{position:fixed;bottom:8mm;left:12mm;right:12mm}.dbamp-print-actions,.dbamp-profile-actions,.dbamp-card:not(.dbamp-print-page){display:none!important}@page{size:A4 portrait;margin:8mm}}


/* v2.1.0 advanced alumni directory */
.dbamp-directory-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}
.dbamp-result-count{margin:4px 0 0;color:#666}
.dbamp-advanced-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}
.dbamp-advanced-filters input,.dbamp-advanced-filters select{width:100%;min-height:40px;padding:8px 10px;border:1px solid #d6d9df;border-radius:6px;background:#fff}
.dbamp-filter-actions{display:flex;gap:8px;align-items:center}
.dbamp-btn-secondary{background:#f3f4f6!important;color:#222!important;border:1px solid #d6d9df!important}
.dbamp-alpha{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:18px 0}
.dbamp-alpha span{font-weight:600;margin-right:4px}
.dbamp-alpha a{display:inline-flex;min-width:30px;height:30px;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:5px;text-decoration:none}
.dbamp-alpha a.active{font-weight:700;border-color:#2271b1;background:#f0f7ff}
@media(max-width:900px){.dbamp-advanced-filters{grid-template-columns:repeat(2,minmax(140px,1fr))}}
@media(max-width:560px){.dbamp-directory-head{display:block}.dbamp-directory-head .dbamp-btn{display:inline-block;margin-top:10px}.dbamp-advanced-filters{grid-template-columns:1fr}.dbamp-alpha a{min-width:28px}}

/* v2.2.0 structured registration form */
.dbamp-registration-form .dbamp-form-heading{margin-bottom:20px}
.dbamp-form-section{margin:0 0 22px;padding:20px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}
.dbamp-form-section h3{margin:0 0 15px;font-size:18px}
.dbamp-form-section input,.dbamp-form-section select,.dbamp-form-section textarea{box-sizing:border-box;width:100%;min-height:40px}
.dbamp-consent-section{background:#f8fafc}


/* Alumni Registration Form v2.2.2 */
.dbamp-registration-wrap{max-width:1100px;margin:25px auto}
.dbamp-registration-header{padding:28px 30px;border-radius:12px;background:#f5f8fc;margin-bottom:20px}
.dbamp-registration-header h2{margin:0 0 7px;font-size:28px}.dbamp-registration-header p{margin:0;color:#667085}
.dbamp-registration-success{padding:14px 18px;border-radius:8px;background:#ecfdf3;border:1px solid #a7f3d0;color:#067647;margin-bottom:18px}
.dbamp-registration-form{background:#fff}
.dbamp-registration-form fieldset{border:1px solid #e1e5ea;border-radius:10px;padding:22px;margin:0 0 18px}
.dbamp-registration-form legend{font-weight:700;font-size:18px;padding:0 8px}
.dbamp-form-row{display:grid;gap:16px;margin-bottom:16px}.dbamp-form-row:last-child{margin-bottom:0}
.dbamp-form-row-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.dbamp-form-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.dbamp-field label{display:block;font-weight:600;margin-bottom:6px}.dbamp-field label span{color:#d63638}
.dbamp-field input[type=text],.dbamp-field input[type=email],.dbamp-field input[type=tel],.dbamp-field input[type=url],.dbamp-field input[type=number],.dbamp-field input[type=date],.dbamp-field input[type=file],.dbamp-field select,.dbamp-field textarea{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #cfd5dc;border-radius:6px;background:#fff}
.dbamp-field textarea{resize:vertical}.dbamp-field small{display:block;color:#667085;margin-top:5px}
#dbamp-photo-preview{margin-top:8px}#dbamp-photo-preview img{width:118px;height:142px;object-fit:cover;border-radius:6px;border:1px solid #ddd}
.dbamp-consent{display:flex;gap:9px;align-items:flex-start;font-weight:400}.dbamp-consent input{margin-top:4px}
.dbamp-registration-actions{display:flex;gap:10px}.dbamp-btn-primary{background:#2271b1!important;color:#fff!important;border-color:#2271b1!important}.dbamp-btn-secondary{background:#f6f7f7!important;color:#222!important;border:1px solid #c3c4c7!important}
@media(max-width:800px){.dbamp-form-row-3{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.dbamp-form-row-2,.dbamp-form-row-3{grid-template-columns:1fr}.dbamp-registration-header{padding:20px}.dbamp-registration-form fieldset{padding:16px}}

.dbamp-registration-type-fieldset{border:2px solid #d9e8f7!important;background:#f8fbff}.dbamp-staff-details{border-left:4px solid #2271b1!important;background:#fbfdff}

.dbamp-type-badge{display:inline-block;font-size:11px;padding:2px 7px;border-radius:12px;background:#eef6ff;color:#185a9d;font-weight:600;margin-bottom:3px}.dbamp-directory .dbamp-person h3{margin-top:2px}


/* v2.5.1 registration type selector */
.dbamp-registration-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dbamp-type-option{position:relative;display:block;cursor:pointer;margin:0}
.dbamp-type-option input{position:absolute;opacity:0;pointer-events:none}
.dbamp-type-option-card{display:flex;flex-direction:column;gap:7px;min-height:92px;padding:18px;border:2px solid #d9e2ec;border-radius:12px;background:#fff;transition:.18s ease;box-sizing:border-box}
.dbamp-type-option-card strong{font-size:16px;color:#12355b}.dbamp-type-option-card small{color:#667085;line-height:1.45}
.dbamp-type-option:hover .dbamp-type-option-card{border-color:#2271b1;background:#f8fbff}
.dbamp-type-option.is-selected .dbamp-type-option-card{border-color:#2271b1;background:#eef6ff;box-shadow:0 0 0 2px rgba(34,113,177,.10)}
.dbamp-registration-type-help{margin:12px 0 0;color:#667085;font-size:13px}
.dbamp-staff-details[aria-hidden="true"]{display:none!important}
@media(max-width:650px){.dbamp-registration-type-options{grid-template-columns:1fr}}

.dbamp-login-card{max-width:520px;margin:20px auto}.dbamp-login-card .login-username,.dbamp-login-card .login-password{margin-bottom:14px}.dbamp-login-card input[type=text],.dbamp-login-card input[type=password]{width:100%;box-sizing:border-box}.dbamp-account{max-width:1000px;margin:20px auto}.dbamp-account-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-radius:16px;background:#f8fafc;margin-bottom:14px}.dbamp-account-header>div{display:flex;align-items:center;gap:15px}.dbamp-account-header h2{margin:0}.dbamp-account-header p{margin:4px 0 0;color:#64748b}.dbamp-account-photo{width:64px;height:76px;object-fit:cover;border-radius:10px}.dbamp-account-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.dbamp-account-tab{border:1px solid #dbe2ea;background:#fff;padding:10px 16px;border-radius:9px;cursor:pointer;font-weight:600}.dbamp-account-tab.is-active{background:#111827;color:#fff}.dbamp-account-panel{display:none}.dbamp-account-panel.is-active{display:block}.dbamp-card-inner{padding:22px;border:1px solid #e5e7eb;border-radius:14px}.dbamp-account-panel .dbamp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.dbamp-account-panel .dbamp-full{grid-column:1/-1}.dbamp-account-panel label{display:block;font-weight:600}.dbamp-account-panel input,.dbamp-account-panel textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #d1d5db;border-radius:8px}.dbamp-account-panel small{display:block;margin-top:5px;color:#64748b}.dbamp-login-help{margin-top:12px}@media(max-width:700px){.dbamp-account-header{align-items:flex-start}.dbamp-account-panel .dbamp-grid{grid-template-columns:1fr}.dbamp-account-panel .dbamp-full{grid-column:auto}}

.dbamp-dashboard{max-width:1100px;margin:24px auto}.dbamp-dashboard-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border-radius:20px;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;margin-bottom:18px}.dbamp-dashboard-kicker{font-size:12px;letter-spacing:1.5px;opacity:.75;font-weight:700}.dbamp-dashboard-hero h2{margin:5px 0 4px;color:#fff}.dbamp-dashboard-hero p{margin:0;opacity:.8}.dbamp-dashboard-photo{width:78px;height:92px;object-fit:cover;border-radius:14px;border:3px solid rgba(255,255,255,.25)}.dbamp-dashboard-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin-bottom:18px}.dbamp-dashboard-card{position:relative;padding:22px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 4px 18px rgba(15,23,42,.05)}.dbamp-dashboard-card strong{font-size:20px}.dbamp-dashboard-card p{margin:6px 0 12px;color:#64748b}.dbamp-dashboard-card a{font-weight:700;text-decoration:none}.dbamp-dashboard-icon{display:block;font-size:25px;margin-bottom:10px}.dbamp-dashboard-progress{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center}.dbamp-dashboard-progress>div:nth-of-type(2){grid-column:1/-1}.dbamp-dashboard-progress .dbamp-progress{height:8px;background:#e5e7eb;border-radius:99px;overflow:hidden;margin:4px 0 12px}.dbamp-dashboard-progress .dbamp-progress span{display:block;height:100%;background:#2563eb;border-radius:99px}.dbamp-dashboard-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.dbamp-dashboard-action{display:flex;flex-direction:column;gap:7px;padding:20px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;text-decoration:none;color:#111827;transition:transform .15s,box-shadow .15s}.dbamp-dashboard-action:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(15,23,42,.08)}.dbamp-dashboard-action strong{font-size:16px}.dbamp-dashboard-action small{color:#64748b}.dbamp-dashboard-logout{color:#991b1b}@media(max-width:800px){.dbamp-dashboard-grid{grid-template-columns:1fr}.dbamp-dashboard-actions{grid-template-columns:1fr 1fr}}@media(max-width:520px){.dbamp-dashboard-actions{grid-template-columns:1fr}.dbamp-dashboard-hero{padding:20px}}
