/* General Layout */
body {
  background-color: #f3f4f6;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #344054;
}

.main-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem 6rem;
}


/* Headings */
h1, h2, h3, .section-title {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Cards */
.card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

/* Form Elements */
.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
}

.form-control, .form-select {
  border-radius: 0.6rem;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}


.btn-outline-secondary {
  border-radius: 8px;
}

/* Policy Icon */
.policy-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

/* Utility */
.text-muted {
  color: #6b7280 !important;
}


.plus-btn {
  position: fixed;
  bottom: 80px; /* adjust for your footer height */
  right: 20px;
  background-color: #007bff;
  color: white;
  font-size: 32px;
  width: 56px;
  height: 56px;
  text-align: center;
  border-radius: 50%;
  text-decoration: none;
  line-height: 56px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

/* =======================================
   📄 POLICY LOANS STYLES
   ======================================= */

/* --- Loan Event Card Style --- */
.loan-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s;
  height: 100%;
}

.loan-card:hover {
  transform: translateY(-2px);
}

.policy-icon-img {
  width: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.loan-details {
  flex-grow: 1;
  padding-left: 1rem;
}

.loan-details h5 {
  margin: 0;
  font-weight: 600;
}

.loan-details .amount {
  color: #111;
  font-weight: 600;
  font-size: 1rem;
}

.loan-details .date {
  font-size: 0.875rem;
  color: #888;
}

.policy-amounts {
  font-size: 0.9rem;
  color: #555;
}
.note {
  font-size: 0.85rem;
  color: #888;
}

/* =======================================
   🔐 AUTHENTICATION STYLES
   ======================================= */

/* Login and Signup containers */
.login-container,
.signup-box {
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Google Sign-In button */
.google-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Password toggle button styling */
.input-group .btn-outline-secondary {
  border-left: 0;
}

.input-group .btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #ced4da;
}

/* Alert animations */
.alert {
  transition: opacity 0.3s ease-in-out;
}

.alert.fade-out {
  opacity: 0;
} 