.gdrg-add-module { width: 100%; animation: fadeIn 0.3s ease-in-out; font-family: "Segoe UI", system-ui, sans-serif; }

.header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.header-bar h2 { color: #1e3a8a; margin: 0; font-size: 24px; font-weight: 800; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.btn-back { background: #fff; color: #334155; padding: 10px 18px; text-decoration: none; border-radius: 8px; font-weight: bold; border: 1px solid #e2e8f0; box-shadow: 0 2px 4px rgba(0,0,0,0.02); transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-back:hover { background: #f1f5f9; }

/* Form Layout */
.form-section { background: #ffffff; padding: 25px; border-radius: 12px; margin-bottom: 25px; border: 1px solid #e2e8f0; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.section-title { font-size: 16px; font-weight: 800; color: #1e3a8a; text-transform: uppercase; margin-top: 0; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #eff6ff; display: flex; align-items: center; gap: 10px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.form-group label { font-size: 13px; font-weight: 700; color: #64748b; text-transform: uppercase; }
.form-control { padding: 12px 15px; border-radius: 8px; border: 1px solid #cbd5e1; outline: none; font-size: 15px; background: #fff; transition: all 0.3s ease; width: 100%; box-sizing: border-box; }
.form-control:focus { border-color: #1e3a8a; box-shadow: 0 0 0 3px #eff6ff; }

/* Toggle Switch */
.toggle-wrapper { display: flex; align-items: center; justify-content: space-between; background: #f8fafc; padding: 12px 15px; border-radius: 8px; border: 1px solid #e2e8f0; }
.toggle-label { font-size: 14px; font-weight: 700; color: #334155; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #16a34a; }
input:checked + .slider:before { transform: translateX(24px); }

/* Conditional Sections */
.conditional-section { display: none; margin-top: 15px; padding: 20px; background: #f8fafc; border-radius: 8px; border: 1px dashed #cbd5e1; }
.tariff-box { background: #fff; padding: 15px; border-radius: 8px; border: 1px solid #e2e8f0; }
.tariff-box h4 { margin-top: 0; color: #334155; font-size: 14px; text-transform: uppercase; }

/* Corporate Insurance Cards */
.corp-list { display: flex; flex-direction: column; gap: 15px; }
.corp-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
.corp-header { padding: 15px 20px; background: #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.corp-title { font-weight: 800; font-size: 15px; color: #334155; display: flex; align-items: center; gap: 10px; }
.corp-body { padding: 20px; display: none; border-top: 1px solid #e2e8f0; }

/* Buttons & Alerts */
.btn-submit { background: #1e3a8a; color: #fff; border: none; padding: 15px 30px; border-radius: 8px; font-weight: 800; font-size: 16px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 10px; width: 100%; justify-content: center; text-transform: uppercase; box-shadow: 0 4px 6px rgba(30, 58, 138, 0.2); }
.btn-submit:hover { background: #172554; transform: translateY(-2px); }

.alert { padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.input-group { display: flex; align-items: center; }
.input-group-text { background: #f1f5f9; border: 1px solid #cbd5e1; border-right: none; padding: 12px 15px; border-radius: 8px 0 0 8px; font-weight: 700; color: #64748b; }
.input-group .form-control { border-radius: 0 8px 8px 0; }