/**
 * SUA Postgraduate Application Portal - Pure Light Theme & Mobile-First Card Layout
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --sua-primary: #1b7a43;
  --sua-primary-hover: #145e33;
  --sua-primary-light: #e8f5ed;
  --sua-accent: #2e7d32;
  --sua-secondary: #f8fafc;
  --sua-dark: #0f172a;
  --sua-slate: #334155;
  --sua-muted: #64748b;
  --sua-light: #ffffff;
  --sua-card-bg: #ffffff;
  --sua-border: #e2e8f0;
  --sua-border-focus: #1b7a43;
  --sua-warning: #d97706;
  --sua-danger: #dc2626;
  --sua-success: #16a34a;
  --sua-info: #0284c7;
  --sua-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --sua-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --sua-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.03);
  --sua-radius-sm: 6px;
  --sua-radius: 12px;
  --sua-radius-lg: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Light Theme Headings & Text */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: #0f172a !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p, span, div, strong, b, td, th, li {
  color: inherit;
}

label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1e293b !important;
  margin-bottom: 0.35rem;
  display: inline-block;
}

.text-dark {
  color: #0f172a !important;
}

.text-muted {
  color: #64748b !important;
}

/* Pure Light Theme Navbar */
.navbar-sua {
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 0.65rem 1.25rem;
  border-bottom: 2.5px solid #1b7a43;
}

.navbar-sua .navbar-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: #0f172a !important;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-sua .navbar-brand span,
.navbar-sua .navbar-brand strong,
.navbar-sua .header-main-title {
  color: #0f172a !important;
}

.navbar-sua .nav-link,
.navbar-sua .nav-link i,
.navbar-sua #sidebarToggle {
  color: #0f172a !important;
  font-size: 1.2rem;
}

/* Layout & Sidebar Modern Structure (Sidebar on Left, Content on Right) */
#wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: calc(100vh - 65px) !important;
  background-color: #f8fafc !important;
  position: relative !important;
}

.sidebar.navbar-nav {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  flex: 0 0 250px !important;
  background: #ffffff !important;
  box-shadow: 1px 0 3px rgba(0, 0, 0, 0.04) !important;
  border-right: 1px solid #e2e8f0 !important;
  min-height: calc(100vh - 65px) !important;
  padding: 0.75rem 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

#wrapper #content-wrapper {
  flex: 1 1 auto !important;
  width: calc(100% - 250px) !important;
  min-width: 0 !important;
  padding: 1.5rem 2rem 4rem !important;
  background-color: #f8fafc !important;
  overflow-x: auto !important;
}

.container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sidebar .nav-item .nav-link {
  color: #334155 !important;
  padding: 12px 18px !important;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid transparent;
}

.sidebar .nav-item .nav-link:hover,
.sidebar .nav-item.active .nav-link {
  color: #1b7a43 !important;
  background: #e8f5ed !important;
  border-left-color: #1b7a43;
  font-weight: 600;
}

.sidebar .nav-item .nav-link i {
  margin-right: 8px;
  font-size: 1rem;
}

/* Top Progress Stepper (Light Theme) */
.top-stepper-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
}

.top-stepper-progress {
  height: 6px;
  border-radius: 3px;
  background-color: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.top-stepper-progress .progress-bar {
  background: linear-gradient(90deg, #1b7a43 0%, #10b981 100%);
  transition: width 0.4s ease;
}

.top-stepper-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.top-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569 !important;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.top-step-pill:hover {
  background: #e8f5ed;
  border-color: #1b7a43;
  color: #1b7a43 !important;
}

.top-step-pill.completed {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46 !important;
}

.top-step-pill.completed i.step-icon {
  color: #10b981;
}

.top-step-pill.active {
  background: #1b7a43;
  border-color: #145e33;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(27, 122, 67, 0.25);
}

.top-step-pill.active * {
  color: #ffffff !important;
}

.top-step-pill .step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.top-step-pill.active .step-num {
  background: #ffffff;
  color: #1b7a43;
}

/* Modern Card Layouts (Easy for small screens) */
.portal-card {
  background: #ffffff;
  border-radius: var(--sua-radius);
  border: 1px solid #e2e8f0;
  box-shadow: var(--sua-shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
  transition: all 0.2s ease;
}

.portal-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.portal-card-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a !important;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-card-title i {
  color: var(--sua-primary);
}

/* Form Controls (Light Theme) */
.form-control, .custom-select {
  border-radius: var(--sua-radius-sm) !important;
  border: 1px solid #cbd5e1 !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease !important;
  min-height: 42px;
}

.form-control:focus, .custom-select:focus {
  border-color: var(--sua-primary) !important;
  box-shadow: 0 0 0 3px rgba(27, 122, 67, 0.2) !important;
}

/* Buttons */
.btn {
  border-radius: var(--sua-radius-sm);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary {
  background-color: var(--sua-primary) !important;
  border-color: var(--sua-primary) !important;
  color: #ffffff !important;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--sua-primary-hover) !important;
  border-color: var(--sua-primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(27, 122, 67, 0.25);
}

.btn-secondary {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

.btn-secondary:hover {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
}

.btn-success {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.btn-danger {
  background-color: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
}

/* Modern Tables */
.table-responsive {
  border-radius: var(--sua-radius-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--sua-radius-sm);
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
}

.table-modern thead th {
  background: #f8fafc;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1rem;
  border-bottom: 1.5px solid #e2e8f0;
}

.table-modern tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.92rem;
  color: #0f172a !important;
  vertical-align: middle;
}

.table-modern tbody tr:last-child td {
  border-bottom: none;
}

.table-modern tbody tr:hover {
  background-color: #f8fafc;
}

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-status-completed {
  background: #ecfdf5;
  color: #15803d !important;
  border: 1px solid #a7f3d0;
}

.badge-status-pending {
  background: #fefce8;
  color: #a16207 !important;
  border: 1px solid #fef08a;
}

.badge-status-warning {
  background: #fef2f2;
  color: #b91c1c !important;
  border: 1px solid #fecaca;
}

.badge-status-info {
  background: #f0f9ff;
  color: #0369a1 !important;
  border: 1px solid #bae6fd;
}

/* Stepper / Timeline for Progress */
.progress-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2.25rem 0 1.5rem;
}

.progress-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  padding: 0 4px;
}

.progress-step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.progress-step.completed .progress-step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.progress-step.active .progress-step-circle {
  background: #1b7a43;
  border-color: #facc15;
  color: #ffffff !important;
  box-shadow: 0 0 0 5px rgba(27, 122, 67, 0.2);
  transform: scale(1.08);
}

.progress-step-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  line-height: 1.3;
}

.progress-step-sublabel {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.progress-step.completed .progress-step-sublabel {
  color: #15803d;
}

.progress-step.active .progress-step-sublabel {
  color: #d97706;
}

/* Authentication Layout (Pure Light Theme) */
.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  padding: 1.5rem 1rem;
}

.auth-card {
  background: #ffffff;
  border-radius: var(--sua-radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  color: #0f172a;
}

.auth-card-wide {
  max-width: 820px;
}

.auth-header {
  background: #ffffff;
  color: #0f172a !important;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  border-bottom: 2px solid #1b7a43;
}

.auth-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid #1b7a43;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 0.85rem;
}

.auth-header h1, .auth-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: #1b7a43 !important;
}

.auth-header p {
  font-size: 0.88rem;
  color: #475569 !important;
  margin: 4px 0 0;
}

.auth-body {
  padding: 2rem 1.75rem;
  color: #0f172a;
}

/* Step instruction boxes */
.info-step-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--sua-primary);
  border-radius: var(--sua-radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.info-step-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.info-step-box li {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: #0f172a;
}

/* Profile Avatar Preview */
.profile-avatar-preview {
  width: 130px;
  height: 155px;
  object-fit: cover;
  border-radius: var(--sua-radius);
  border: 2px solid #cbd5e1;
  box-shadow: var(--sua-shadow);
  display: block;
  margin: 0 auto 1rem;
}

/* Breadcrumbs */
.breadcrumb {
  background: #ffffff;
  border-radius: var(--sua-radius-sm);
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.breadcrumb-item,
.breadcrumb-item a,
.breadcrumb-item.active {
  color: #0f172a !important;
  font-weight: 600;
}

/* Pure Light Theme Footer */
.portal-rich-footer {
  background: #ffffff;
  color: #475569;
  border-top: 3px solid #1b7a43;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.04);
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
}

.portal-rich-footer h5,
.portal-rich-footer h6 {
  color: #0f172a !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.portal-rich-footer p,
.portal-rich-footer li,
.portal-rich-footer span {
  color: #64748b;
  font-size: 0.88rem;
}

.portal-rich-footer a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.portal-rich-footer a:hover {
  color: #1b7a43;
}

.portal-rich-footer .footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.25rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* Mobile & Small Screen Optimization Rules */
@media (max-width: 991px) {
  .progress-timeline {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .progress-timeline::before {
    display: none;
  }
  
  .progress-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
  }
  
  .progress-step-circle {
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .portal-card {
    padding: 1.15rem;
    margin-bottom: 1.15rem;
    border-radius: var(--sua-radius-sm);
  }
  
  .auth-body {
    padding: 1.25rem 1rem;
  }
  
  .navbar-sua .navbar-brand span {
    font-size: 0.95rem;
  }
  
  .top-stepper-steps {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Universal Post-Login Portal Styling Enhancements
   ========================================================================== */

/* Universal Form Controls across all views */
input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
.form-control,
.custom-select {
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.92rem !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  max-width: 100%;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
.form-control:focus,
.custom-select:focus {
  border-color: #1b7a43 !important;
  box-shadow: 0 0 0 3px rgba(27, 122, 67, 0.18) !important;
  background-color: #ffffff !important;
  outline: none !important;
}

textarea,
textarea.form-control {
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 0.6rem 0.85rem !important;
  font-size: 0.92rem !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

textarea:focus,
textarea.form-control:focus {
  border-color: #1b7a43 !important;
  box-shadow: 0 0 0 3px rgba(27, 122, 67, 0.18) !important;
  outline: none !important;
}

/* Universal Button Styling */
input[type="submit"],
input[type="button"],
button.btn-primary,
.btn-primary {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 0.55rem 1.25rem !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button.btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}

/* Default unstyled submit buttons */
input[type="submit"]:not(.btn) {
  background: linear-gradient(135deg, #1b7a43, #15803d) !important;
  border: none !important;
  color: #ffffff !important;
}

/* Universal Tables Styling */
table.table,
#dataTable,
.table-bordered {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  width: 100% !important;
  margin-bottom: 1.25rem !important;
}

table.table thead th,
#dataTable thead th,
.table-bordered thead th {
  background: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  padding: 11px 12px !important;
  border-bottom: 2px solid #cbd5e1 !important;
  border-top: none !important;
}

table.table tbody td,
#dataTable tbody td,
.table-bordered tbody td {
  padding: 9px 12px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
  color: #334155 !important;
  font-size: 0.9rem !important;
}

table.table tbody tr:hover,
#dataTable tbody tr:hover,
.table-bordered tbody tr:hover {
  background-color: #f8fafc !important;
}

/* System Feedback Alert Banners */
#Success,
.alert-success {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.25rem !important;
}

#Fail,
#Error,
.alert-danger {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.25rem !important;
}

/* Chosen Dropdown Global Enhancements */
.chosen-container {
  font-size: 0.9rem !important;
}

.chosen-container-single .chosen-single {
  height: 42px !important;
  line-height: 40px !important;
  border-radius: 8px !important;
  border: 1.5px solid #cbd5e1 !important;
  background: #ffffff !important;
  padding: 0 12px !important;
  color: #0f172a !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

.chosen-container-active.chosen-with-drop .chosen-single {
  border-color: #1b7a43 !important;
  box-shadow: 0 0 0 3px rgba(27, 122, 67, 0.15) !important;
}

.chosen-container .chosen-drop {
  border-radius: 0 0 10px 10px !important;
  border: 1.5px solid #1b7a43 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  background: #ffffff !important;
}

.chosen-container .chosen-results li.highlighted {
  background: #1b7a43 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   PREMIUM CUSTOM TOAST NOTIFICATION SYSTEM (Non-Default, Ultra-Modern)
   ========================================================================== */
.sua-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 440px;
  width: calc(100vw - 40px);
}

.sua-toast {
  pointer-events: auto;
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 6px 14px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
}

.sua-toast.sua-toast-visible {
  transform: translateX(0);
  opacity: 1;
}

.sua-toast.sua-toast-hiding {
  transform: translateX(120%);
  opacity: 0;
  margin-top: -70px;
  pointer-events: none;
}

.sua-toast-body {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px;
  gap: 12px;
}

.sua-toast-icon-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.sua-toast-content {
  flex: 1;
  min-width: 0;
}

.sua-toast-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 3px;
  line-height: 1.3;
}

.sua-toast-message {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
  word-break: break-word;
}

.sua-toast-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background-color 0.15s;
}

.sua-toast-close:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.sua-toast-progress {
  height: 3.5px;
  width: 100%;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.sua-toast-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: toastProgress linear forwards;
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Success Variant */
.sua-toast-success {
  border-left: 4.5px solid #10b981;
}
.sua-toast-success .sua-toast-icon-wrap {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #047857;
}
.sua-toast-success .sua-toast-progress-bar {
  background: linear-gradient(90deg, #10b981, #059669);
}

/* Error / Danger Variant */
.sua-toast-error {
  border-left: 4.5px solid #ef4444;
}
.sua-toast-error .sua-toast-icon-wrap {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #b91c1c;
}
.sua-toast-error .sua-toast-progress-bar {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* Warning Variant */
.sua-toast-warning {
  border-left: 4.5px solid #f59e0b;
}
.sua-toast-warning .sua-toast-icon-wrap {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
}
.sua-toast-warning .sua-toast-progress-bar {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Info Variant */
.sua-toast-info {
  border-left: 4.5px solid #3b82f6;
}
.sua-toast-info .sua-toast-icon-wrap {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
}
.sua-toast-info .sua-toast-progress-bar {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

@media (max-width: 576px) {
  .sua-toast-container {
    top: auto;
    bottom: 20px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: 100%;
  }
}

