.datepicker--cells{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.datepicker--cell{border-radius:4px;box-sizing:border-box;cursor:pointer;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:32px;z-index:1}.datepicker--cell.-focus-{background:#f0f0f0}.datepicker--cell.-current-{color:#4EB5E6}.datepicker--cell.-current-.-focus-{color:#4a4a4a}.datepicker--cell.-current-.-in-range-{color:#4EB5E6}.datepicker--cell.-in-range-{background:rgba(92,196,239,.1);color:#4a4a4a;border-radius:0}.datepicker--cell.-in-range-.-focus-{background-color:rgba(92,196,239,.2)}.datepicker--cell.-disabled-{cursor:default;color:#aeaeae}.datepicker--cell.-disabled-.-focus-{color:#aeaeae}.datepicker--cell.-disabled-.-in-range-{color:#a1a1a1}.datepicker--cell.-disabled-.-current-.-focus-{color:#aeaeae}.datepicker--cell.-range-from-{border:1px solid rgba(92,196,239,.5);background-color:rgba(92,196,239,.1);border-radius:4px 0 0 4px}.datepicker--cell.-range-to-{border:1px solid rgba(92,196,239,.5);background-color:rgba(92,196,239,.1);border-radius:0 4px 4px 0}.datepicker--cell.-selected-,.datepicker--cell.-selected-.-current-{color:#fff;background:#5cc4ef}.datepicker--cell.-range-from-.-range-to-{border-radius:4px}.datepicker--cell.-selected-{border:none}.datepicker--cell.-selected-.-focus-{background:#45bced}.datepicker--cell:empty{cursor:default}.datepicker--days-names{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:8px 0 3px}.datepicker--day-name{color:#FF9A19;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex:1;-ms-flex:1;flex:1;text-align:center;text-transform:uppercase;font-size:.8em}.-only-timepicker- .datepicker--content,.datepicker--body,.datepicker-inline .datepicker--pointer{display:none}.datepicker--cell-day{width:14.28571%}.datepicker--cells-months{height:170px}.datepicker--cell-month{width:33.33%;height:25%}.datepicker--cells-years,.datepicker--years{height:170px}.datepicker--cell-year{width:25%;height:33.33%}.datepickers-container{position:absolute;left:0;top:0}@media print{.datepickers-container{display:none}}.datepicker{background:#fff;border:1px solid #dbdbdb;box-shadow:0 4px 12px rgba(0,0,0,.15);border-radius:4px;box-sizing:content-box;font-family: 'Fira Sans', Tahoma,sans-serif;font-size:14px;color:#4a4a4a;width:250px;position:absolute;left:-100000px;opacity:0;transition:opacity .3s ease,left 0s .3s,-webkit-transform .3s ease;transition:opacity .3s ease,transform .3s ease,left 0s .3s;transition:opacity .3s ease,transform .3s ease,left 0s .3s,-webkit-transform .3s ease;z-index:1090}.datepicker.-from-top-{-webkit-transform:translateY(-8px);transform:translateY(-8px)}.datepicker.-from-right-{-webkit-transform:translateX(8px);transform:translateX(8px)}.datepicker.-from-bottom-{-webkit-transform:translateY(8px);transform:translateY(8px)}.datepicker.-from-left-{-webkit-transform:translateX(-8px);transform:translateX(-8px)}.datepicker.active{opacity:1;-webkit-transform:translate(0);transform:translate(0);transition:opacity .3s ease,left 0s 0s,-webkit-transform .3s ease;transition:opacity .3s ease,transform .3s ease,left 0s 0s;transition:opacity .3s ease,transform .3s ease,left 0s 0s,-webkit-transform .3s ease}.datepicker-inline .datepicker{border-color:#d7d7d7;box-shadow:none;position:static;left:auto;right:auto;opacity:1;-webkit-transform:none;transform:none}.datepicker--content{box-sizing:content-box;padding:4px}.datepicker--pointer{position:absolute;background:#fff;border-top:1px solid #dbdbdb;border-right:1px solid #dbdbdb;width:10px;height:10px;z-index:-1}.datepicker--nav-action:hover,.datepicker--nav-title:hover{background:#f0f0f0}.-top-center- .datepicker--pointer,.-top-left- .datepicker--pointer,.-top-right- .datepicker--pointer{top:calc(100% - 4px);-webkit-transform:rotate(135deg);transform:rotate(135deg)}.-right-bottom- .datepicker--pointer,.-right-center- .datepicker--pointer,.-right-top- .datepicker--pointer{right:calc(100% - 4px);-webkit-transform:rotate(225deg);transform:rotate(225deg)}.-bottom-center- .datepicker--pointer,.-bottom-left- .datepicker--pointer,.-bottom-right- .datepicker--pointer{bottom:calc(100% - 4px);-webkit-transform:rotate(315deg);transform:rotate(315deg)}.-left-bottom- .datepicker--pointer,.-left-center- .datepicker--pointer,.-left-top- .datepicker--pointer{left:calc(100% - 4px);-webkit-transform:rotate(45deg);transform:rotate(45deg)}.-bottom-left- .datepicker--pointer,.-top-left- .datepicker--pointer{left:10px}.-bottom-right- .datepicker--pointer,.-top-right- .datepicker--pointer{right:10px}.-bottom-center- .datepicker--pointer,.-top-center- .datepicker--pointer{left:calc(50% - 10px / 2)}.-left-top- .datepicker--pointer,.-right-top- .datepicker--pointer{top:10px}.-left-bottom- .datepicker--pointer,.-right-bottom- .datepicker--pointer{bottom:10px}.-left-center- .datepicker--pointer,.-right-center- .datepicker--pointer{top:calc(50% - 10px / 2)}.datepicker--body.active{display:block}.datepicker--nav{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #efefef;min-height:32px;padding:4px}.-only-timepicker- .datepicker--nav{display:none}.datepicker--nav-action,.datepicker--nav-title{display:-webkit-flex;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.datepicker--nav-action{width:32px;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker--nav-action.-disabled-{visibility:hidden}.datepicker--nav-action svg{width:32px;height:32px}.datepicker--nav-action path{fill:none;stroke:#9c9c9c;stroke-width:2px}.datepicker--nav-title{border-radius:4px;padding:0 8px}.datepicker--buttons,.datepicker--time{border-top:1px solid #efefef;padding:4px}.datepicker--nav-title i{font-style:normal;color:#9c9c9c;margin-left:5px}.datepicker--nav-title.-disabled-{cursor:default;background:0 0}.datepicker--buttons{display:-webkit-flex;display:-ms-flexbox;display:flex}.datepicker--button{color:#4EB5E6;cursor:pointer;border-radius:4px;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:32px}.datepicker--button:hover{color:#4a4a4a;background:#f0f0f0}.datepicker--time{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative}.datepicker--time.-am-pm- .datepicker--time-sliders{-webkit-flex:0 1 138px;-ms-flex:0 1 138px;flex:0 1 138px;max-width:138px}.-only-timepicker- .datepicker--time{border-top:none}.datepicker--time-sliders{-webkit-flex:0 1 153px;-ms-flex:0 1 153px;flex:0 1 153px;margin-right:10px;max-width:153px}.datepicker--time-label{display:none;font-size:12px}.datepicker--time-current{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-flex:1;-ms-flex:1;flex:1;font-size:14px;text-align:center;margin:0 0 0 10px}.datepicker--time-current-colon{margin:0 2px 3px;line-height:1}.datepicker--time-current-hours,.datepicker--time-current-minutes{line-height:1;font-size:19px;font-family:"Century Gothic",CenturyGothic,AppleGothic,sans-serif;position:relative;z-index:1}.datepicker--time-current-hours:after,.datepicker--time-current-minutes:after{content:'';background:#f0f0f0;border-radius:4px;position:absolute;left:-2px;top:-3px;right:-2px;bottom:-2px;z-index:-1;opacity:0}.datepicker--time-current-hours.-focus-:after,.datepicker--time-current-minutes.-focus-:after{opacity:1}.datepicker--time-current-ampm{text-transform:uppercase;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;color:#9c9c9c;margin-left:6px;font-size:11px;margin-bottom:1px}.datepicker--time-row{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:11px;height:17px;background:linear-gradient(to right,#dedede,#dedede) left 50%/100% 1px no-repeat}.datepicker--time-row:first-child{margin-bottom:4px}.datepicker--time-row input[type=range]{background:0 0;cursor:pointer;-webkit-flex:1;-ms-flex:1;flex:1;height:100%;padding:0;margin:0;-webkit-appearance:none}.datepicker--time-row input[type=range]::-ms-tooltip{display:none}.datepicker--time-row input[type=range]:hover::-webkit-slider-thumb{border-color:#b8b8b8}.datepicker--time-row input[type=range]:hover::-moz-range-thumb{border-color:#b8b8b8}.datepicker--time-row input[type=range]:hover::-ms-thumb{border-color:#b8b8b8}.datepicker--time-row input[type=range]:focus{outline:0}.datepicker--time-row input[type=range]:focus::-webkit-slider-thumb{background:#5cc4ef;border-color:#5cc4ef}.datepicker--time-row input[type=range]:focus::-moz-range-thumb{background:#5cc4ef;border-color:#5cc4ef}.datepicker--time-row input[type=range]:focus::-ms-thumb{background:#5cc4ef;border-color:#5cc4ef}.datepicker--time-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid #dedede;background:#fff;cursor:pointer;transition:background .2s;margin-top:-6px}.datepicker--time-row input[type=range]::-moz-range-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid #dedede;background:#fff;cursor:pointer;transition:background .2s}.datepicker--time-row input[type=range]::-ms-thumb{box-sizing:border-box;height:12px;width:12px;border-radius:3px;border:1px solid #dedede;background:#fff;cursor:pointer;transition:background .2s}.datepicker--time-row input[type=range]::-webkit-slider-runnable-track{border:none;height:1px;cursor:pointer;color:transparent;background:0 0}.datepicker--time-row input[type=range]::-moz-range-track{border:none;height:1px;cursor:pointer;color:transparent;background:0 0}.datepicker--time-row input[type=range]::-ms-track{border:none;height:1px;cursor:pointer;color:transparent;background:0 0}.datepicker--time-row input[type=range]::-ms-fill-lower{background:0 0}.datepicker--time-row input[type=range]::-ms-fill-upper{background:0 0}.datepicker--time-row span{padding:0 12px}.datepicker--time-icon{color:#9c9c9c;border:1px solid;border-radius:50%;font-size:16px;position:relative;margin:0 5px -1px 0;width:1em;height:1em}.datepicker--time-icon:after,.datepicker--time-icon:before{content:'';background:currentColor;position:absolute}.datepicker--time-icon:after{height:.4em;width:1px;left:calc(50% - 1px);top:calc(50% + 1px);-webkit-transform:translateY(-100%);transform:translateY(-100%)}.datepicker--time-icon:before{width:.4em;height:1px;top:calc(50% + 1px);left:calc(50% - 1px)}.datepicker--cell-day.-other-month-,.datepicker--cell-year.-other-decade-{color:#dedede}.datepicker--cell-day.-other-month-:hover,.datepicker--cell-year.-other-decade-:hover{color:#c5c5c5}.-disabled-.-focus-.datepicker--cell-day.-other-month-,.-disabled-.-focus-.datepicker--cell-year.-other-decade-{color:#dedede}.-selected-.datepicker--cell-day.-other-month-,.-selected-.datepicker--cell-year.-other-decade-{color:#fff;background:#a2ddf6}.-selected-.-focus-.datepicker--cell-day.-other-month-,.-selected-.-focus-.datepicker--cell-year.-other-decade-{background:#8ad5f4}.-in-range-.datepicker--cell-day.-other-month-,.-in-range-.datepicker--cell-year.-other-decade-{background-color:rgba(92,196,239,.1);color:#ccc}.-in-range-.-focus-.datepicker--cell-day.-other-month-,.-in-range-.-focus-.datepicker--cell-year.-other-decade-{background-color:rgba(92,196,239,.2)}.datepicker--cell-day.-other-month-:empty,.datepicker--cell-year.-other-decade-:empty{background:0 0;border:none}
@charset "UTF-8";
.ag-wrap {
  --ag-primary: #138d75;
  --ag-primary-soft: rgba(19, 141, 117, 0.1);
  --ag-text: #2c3e50;
  --ag-muted: #7f8c8d;
  --ag-border: #e4e9ed;
  --ag-bg-soft: #f5f7f8;
  --ag-radius: 14px;
  --ag-shadow: 0 2px 10px rgba(44, 62, 80, 0.08);
  --ag-shadow-hover: 0 10px 24px rgba(44, 62, 80, 0.14);
  color: var(--ag-text);
  font-size: 15px;
  line-height: 1.5;
}
.ag-wrap .ag-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ag-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ag-wrap .ag-head {
  margin-bottom: 20px;
}
.ag-wrap .ag-head .ag-head-local {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ag-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ag-wrap .ag-head .ag-head-orgao {
  font-size: 26px;
  font-weight: 700;
  margin: 4px 0 0;
  color: var(--ag-text);
}
.ag-wrap .ag-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.ag-wrap .ag-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ag-border);
  border-radius: var(--ag-radius);
  box-shadow: var(--ag-shadow);
  padding: 26px 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--ag-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ag-wrap .ag-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ag-shadow-hover);
  border-color: var(--ag-primary);
}
.ag-wrap .ag-card .ag-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ag-primary-soft);
  font-size: 30px;
}
.ag-wrap .ag-card.ag-card-left {
  text-align: left;
  padding: 20px;
}
.ag-wrap .ag-card.ag-card-left b {
  font-size: 16px;
}
.ag-wrap .ag-card.ag-card-left .ag-card-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ag-muted);
}
.ag-wrap .ag-steps {
  list-style: none;
  display: flex;
  margin: 0 0 22px;
  padding: 0;
}
.ag-wrap .ag-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ag-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.ag-wrap .ag-steps li .ag-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9eef0;
  color: var(--ag-muted);
  font-weight: 700;
  font-size: 13px;
  flex: 0 0 auto;
  transition: all 0.2s ease;
}
.ag-wrap .ag-steps li:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e9eef0;
  margin: 0 12px;
  border-radius: 2px;
}
.ag-wrap .ag-steps li.is-active {
  color: var(--ag-primary);
}
.ag-wrap .ag-steps li.is-active .ag-step-num {
  background: var(--ag-primary);
  color: #fff;
}
.ag-wrap .ag-steps li.is-done {
  color: var(--ag-text);
}
.ag-wrap .ag-steps li.is-done .ag-step-num {
  background: var(--ag-primary-soft);
  color: var(--ag-primary);
}
.ag-wrap .ag-steps li.is-done .ag-step-num span {
  display: none;
}
.ag-wrap .ag-steps li.is-done .ag-step-num::before {
  content: "✓";
}
@media (max-width: 767px) {
  .ag-wrap .ag-steps .ag-step-label {
    display: none;
  }
}
.ag-wrap .ag-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 767px) {
  .ag-wrap .ag-grid {
    grid-template-columns: 1fr;
  }
}
.ag-wrap .ag-panel {
  background: #fff;
  border: 1px solid var(--ag-border);
  border-radius: var(--ag-radius);
  box-shadow: var(--ag-shadow);
  padding: 22px;
  margin-bottom: 18px;
}
.ag-wrap .ag-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.ag-wrap .ag-panel-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--ag-primary);
  flex: 0 0 auto;
}
.ag-wrap #dt {
  min-width: 252px;
  min-height: 240px;
}
.ag-wrap .ag-alert {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
}
.ag-wrap .ag-alert.ag-alert-info {
  background: #eef6fb;
  color: #2471a3;
  border: 1px solid #d4e6f1;
}
.ag-wrap .ag-alert.ag-alert-warning {
  background: #fdf3e7;
  color: #b9770e;
  border: 1px solid #f5e0c3;
}
.ag-wrap .ag-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  color: var(--ag-muted);
  font-weight: 500;
}
.ag-wrap .ag-loading .ag-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ag-border);
  border-top-color: var(--ag-primary);
  border-radius: 50%;
  animation: ag-spin 0.7s linear infinite;
}
@keyframes ag-spin {
  to {
    transform: rotate(360deg);
  }
}
.ag-wrap .datepicker {
  border: none;
  font-family: inherit;
}
.ag-wrap .datepicker--nav {
  border-bottom: 1px solid var(--ag-border);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.ag-wrap .datepicker--nav .datepicker--nav-title {
  font-weight: 600;
  color: var(--ag-text);
  border-radius: 8px;
}
.ag-wrap .datepicker--day-name {
  color: var(--ag-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.ag-wrap .datepicker--cells-days .datepicker--cell-day {
  border-radius: 8px;
  height: 34px;
  transition: background 0.15s ease;
}
.ag-wrap .datepicker--cells-days .datepicker--cell-day.not-aval {
  color: #c3cbce;
}
.ag-wrap .datepicker--cells-days .datepicker--cell-day.aval {
  font-weight: 700;
  color: var(--ag-primary);
}
.ag-wrap .datepicker--cells-days .datepicker--cell-day.aval:hover {
  background: var(--ag-primary-soft);
}
.ag-wrap .datepicker--cells-days .datepicker--cell-day.-current- {
  color: var(--ag-primary);
}
.ag-wrap .datepicker--cells-days .datepicker--cell-day.-selected-, .ag-wrap .datepicker--cells-days .datepicker--cell-day.-selected-.-current- {
  background: var(--ag-primary) !important;
  color: #fff !important;
  border-radius: 8px;
}
.ag-wrap .ag-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 767px) {
  .ag-wrap .ag-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ag-wrap .hr-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--ag-bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ag-text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ag-wrap .hr-item .ag-slot-badge {
  background: var(--ag-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
}
.ag-wrap .hr-item:hover {
  border-color: var(--ag-primary);
  background: var(--ag-primary-soft);
}
.ag-wrap .hr-item.active {
  background: var(--ag-primary);
  border-color: var(--ag-primary);
  color: #fff;
}
.ag-wrap .hr-item.active .ag-slot-badge {
  background: rgba(255, 255, 255, 0.25);
}
.ag-wrap .hr-item-inactive {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f4;
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #b3bcc0;
  text-decoration: line-through;
  cursor: not-allowed;
}
.ag-wrap .ag-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.ag-wrap .ag-summary .ag-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ag-primary-soft);
  color: var(--ag-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}
.ag-wrap .ag-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 16px;
}
@media (max-width: 767px) {
  .ag-wrap .ag-form-grid {
    grid-template-columns: 1fr;
  }
}
.ag-wrap .ag-field {
  margin-bottom: 14px;
}
.ag-wrap .ag-field.ag-field-full {
  grid-column: 1 / -1;
}
.ag-wrap .ag-field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ag-muted);
  margin-bottom: 6px;
}
.ag-wrap .ag-field.is-required > label::after {
  content: " *";
  color: #e74c3c;
}
.ag-wrap .ag-field .form-control, .ag-wrap .ag-field select {
  width: 100%;
  height: auto;
  border: 1.5px solid var(--ag-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--ag-text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ag-wrap .ag-field .form-control:focus, .ag-wrap .ag-field select:focus {
  border-color: var(--ag-primary);
  box-shadow: 0 0 0 3px var(--ag-primary-soft);
  outline: none;
}
.ag-wrap .ag-dn-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 10px;
}
.ag-wrap .ag-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ag-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 36px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.ag-wrap .ag-submit:hover {
  filter: brightness(1.08);
}
@media (max-width: 767px) {
  .ag-wrap .ag-submit {
    width: 100%;
  }
}
.ag-wrap .ag-terms-box {
  max-height: 260px;
  overflow-y: auto;
  background: var(--ag-bg-soft);
  border: 1px solid var(--ag-border);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.ag-wrap .ag-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}
.ag-wrap .ag-check input {
  display: none;
}
.ag-wrap .ag-check .ag-check-box {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid var(--ag-border);
  border-radius: 6px;
  flex: 0 0 auto;
  transition: all 0.15s ease;
}
.ag-wrap .ag-check input:checked + .ag-check-box {
  background: var(--ag-primary);
  border-color: var(--ag-primary);
}
.ag-wrap .ag-check input:checked + .ag-check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ag-wrap .ag-success-head {
  text-align: center;
  margin-bottom: 20px;
}
.ag-wrap .ag-success-head .ag-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--ag-primary-soft);
  color: var(--ag-primary);
  font-size: 36px;
  font-weight: 700;
}
.ag-wrap .ag-success-head .ag-success-icon::before {
  content: "✓";
}
.ag-wrap .ag-success-head h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ag-text);
}
.ag-wrap .ag-success-head p {
  color: var(--ag-muted);
  margin: 4px 0 0;
}
.ag-wrap .ag-ticket {
  background: #fff;
  border: 1px solid var(--ag-border);
  border-radius: var(--ag-radius);
  box-shadow: var(--ag-shadow);
  overflow: hidden;
}
.ag-wrap .ag-ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px dashed var(--ag-border);
}
.ag-wrap .ag-ticket-row .ag-ticket-label {
  color: var(--ag-muted);
  font-size: 13px;
  font-weight: 600;
}
.ag-wrap .ag-ticket-row .ag-ticket-value {
  font-weight: 600;
  text-align: right;
}
.ag-wrap .ag-code {
  text-align: center;
  padding: 16px;
  background: var(--ag-bg-soft);
}
.ag-wrap .ag-code .ag-code-label {
  display: block;
  color: var(--ag-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ag-wrap .ag-code .ag-code-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ag-primary);
}
.ag-wrap .ag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  margin-top: 18px;
}
.ag-wrap .ag-actions form {
  display: contents;
}
.ag-wrap .ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  font-family: inherit;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--ag-border);
  color: var(--ag-text);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ag-wrap .ag-btn:hover {
  border-color: var(--ag-primary);
  color: var(--ag-primary);
}
.ag-wrap .ag-btn.ag-btn-danger {
  color: #c0392b;
}
.ag-wrap .ag-btn.ag-btn-danger:hover {
  border-color: #c0392b;
  color: #c0392b;
  background: #fdf0ee;
}
.ag-wrap .ag-map {
  margin-top: 16px;
}
.ag-wrap .ag-map > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ag-muted);
  margin-bottom: 8px;
}
