html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #000000;
  margin: 0;
  padding: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ===========================================
   Thank You Page (Index) Styles
   =========================================== */
.thankyou-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ffffff;
    padding: 20px;
}

.thankyou-content {
    text-align: center;
    background-color: #ffffff;
    padding: 40px;
    max-width: 600px;
}

.success-icon-wrapper {
    margin-bottom: 20px;
    animation: scaleIn 0.6s ease-out;
}

.success-icon-wrapper svg {
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
}

.thankyou-title {
    font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 10px 0;
}

.thankyou-message {
    font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    color: #000000;
    margin: 0;
}

.status-message {
    font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    margin-top: 20px;
    padding: 10px 20px;
}

.status-message.success {
    color: #28a745;
}

.status-message.error {
    color: #dc3545;
}

/* ===========================================
   Error Page (NotAccessible) Styles
   =========================================== */
.error-title {
    font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #dc3545;
    margin: 0 0 10px 0;
}

.error-message {
    font-family: Calibri, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    color: #666666;
    margin: 0;
}

/* ===========================================
   Go Paperless Page (ThankYou) Styles
   =========================================== */
.page-gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.main-card {
    border-radius: 20px;
    overflow: hidden;
}

.main-card-rounded {
    border-radius: 24px;
}

.brand-panel {
    background: linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    position: relative;
}

.brand-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-logo svg {
    opacity: 0.9;
}

.benefit-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.consent-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
}

.consent-card .form-check-label {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
}

.consent-card .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.15em;
}

.consent-card .form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

.captcha-wrapper {
    display: flex;
    justify-content: center;
}

.captcha-error {
    display: none;
}

/* ===========================================
   Submit Button Styles
   =========================================== */
.submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===========================================
   Alert Styles
   =========================================== */
.alert:empty {
    display: none;
}

.alert {
    border-radius: 12px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
}

/* ===========================================
   Animations
   =========================================== */
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===========================================
   Responsive Styles
   =========================================== */
@media (max-width: 767.98px) {
    .brand-panel {
        min-height: 200px;
    }

    .main-card {
        border-radius: 16px;
    }
}