body {
    background-color: #f0f2f5;
}

.mobile-container {
    max-width: 480px;
    margin: auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 80px; /* Space for bottom nav */
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: auto;
    height: 70px;
    background-color: white;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 5px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-nav .nav-item {
    color: #6c757d;
}

.bottom-nav .nav-item.active {
    color: #0dcaf0; /* Bootstrap's 'info' color */
}

.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 1rem;
    margin-bottom: -1rem;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.horizontal-scroll .card {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.category-icon .icon-placeholder {
    width: 48px;
    height: 48px;
    background-color: #cff4fc;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon .icon-placeholder div {
    width: 24px;
    height: 24px;
    background-color: #7dd3fc;
    border-radius: 0.25rem;
}

.card-title-fixed-height {
    height: 40px; 
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.progress {
    height: 6px;
}

/* News Page Styles */
.news-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
}

.news-card .card-text {
    font-size: 0.9rem;
    color: #6c757d;
    height: 63px; /* approx 3 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-card .card-img-top {
    height: 160px;
    object-fit: cover;
}

/* Detail Page Styles */
.page-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 999;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.detail-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Donation Detail Styles */
.action-bar-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: auto;
    background-color: white;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.donor-item {
    border-bottom: 1px solid #f0f2f5;
}
.donor-item:last-child {
    border-bottom: none;
}
.donor-avatar {
    width: 40px;
    height: 40px;
    background-color: #e9ecef;
    color: #6c757d;
}

.prayer-card {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    background-color: #f8f9fa;
}

/* Donation Now Styles */
.amount-option {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.amount-option:hover {
    border-color: #0dcaf0;
}
.amount-option.selected {
    border-color: #0dcaf0;
    background-color: #cff4fc;
    border-width: 2px;
}
.custom-amount-input {
    background-color: #f8f9fa;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #0dcaf0;
}
.custom-amount-input:focus {
    background-color: #f8f9fa;
    box-shadow: none;
    color: #0dcaf0;
}

/* Account Page Styles */
.list-group-item-action:hover, .list-group-item-action:focus {
    background-color: #f8f9fa;
}

/* Donation List Page Styles */
.donasi-header {
    top: 0;
    z-index: 999;
    background-color: #ffffff;
}
.donasi-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    border: 0;
    border-bottom: 3px solid transparent;
}
.donasi-tabs .nav-link.active {
    color: #0dcaf0;
    border-bottom-color: #0dcaf0;
    background-color: transparent;
}

.donation-list-card {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
}
.donation-list-card:last-child {
    border-bottom: none;
}
.donation-list-card .list-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
}
.donation-list-card .list-content {
    flex: 1;
}
.donation-list-card .list-title {
    font-weight: 600;
    font-size: 0.9rem;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.recommendation-badge {
    background-color: #fd7e14;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

.bottom-nav {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 1000;
}

.bottom-nav .nav-item {
    color: #6c757d;
    transition: color 0.3s ease;
}

.bottom-nav .nav-item.active {
    color: #007bff !important;
}

.bottom-nav .nav-item.active i {
    color: #007bff !important;
}

.bottom-nav .nav-item:hover {
    color: #007bff;
}


/* public/styles/frontend/mobile-layout.css */

/* ... (tambahkan di akhir file) ... */

/* ========================================= */
/*  Auth Page Styles (Masuk & Daftar)        */
/* ========================================= */
.auth-form .form-label {
  color: #495057; /* Sedikit lebih gelap untuk kontras */
}

.auth-form .input-group {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem; /* Membuat border group membulat */
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.auth-form .input-group:focus-within {
  border-color: #0dcaf0;
  box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
}

.auth-form .input-group .input-group-text {
  border: none;
  background-color: transparent;
  padding-right: 0.5rem; /* Jarak ikon ke input */
}

.auth-form .input-group .form-control {
  border: none;
  box-shadow: none;
  background-color: transparent;
  padding-left: 0.5rem; /* Jarak teks dari ikon */
}

/* Khusus untuk captcha agar tidak ada border ganda */
.auth-form #captcha {
  border: 1px solid #dee2e6;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.auth-form #captcha:focus {
  border-color: #0dcaf0;
  box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
}

/* Tombol utama */
.d-grid .btn-info {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}


/* public/styles/frontend/mobile-layout.css */

/* ... (tambahkan di akhir file) ... */

/* ========================================= */
/*  OTP Verification Page Styles             */
/* ========================================= */
.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.otp-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  color: #0dcaf0;
  caret-color: #0dcaf0;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.otp-input:focus {
  border-color: #0dcaf0;
  box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
  outline: none;
}

/* Chrome, Safari, Edge, Opera */
.otp-input::-webkit-outer-spin-button,
.otp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.otp-input[type=number] {
  -moz-appearance: textfield;
}