/* Custom CSS for Green Theme Lucky Number Site */

:root {
  --primary-color: #2E7D32;
  /* Green 800 */
  --primary-light: #4CAF50;
  /* Green 500 */
  --primary-dark: #1B5E20;
  /* Green 900 */
  --accent-color: #FFC107;
  /* Amber 500 */
  /* Warm Cream (User Choice) */
  --bg-light: #fffbf5;
}

body {
  font-family: "Roboto", "Noto Serif Lao", "Noto Sans Lao Looped", Phetsarath, sans-serif !important;
  background-color: var(--bg-light);
  padding-top: 70px;
  /* Space for fixed navbar */
}

/* Navbar */
.navbar {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Search Box Container */
.search-container {
  max-width: 900px;
  margin: 0 auto;
}

.digit-box {
  width: 45px;
  height: 55px;
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-dark);
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.2s;
}

.digit-box:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  outline: none;
}

/* Premium Card Styles */
.sim-card {
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sim-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Carrier Backgrounds */
.bg-carrier-unitel {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
  /* Gold/Cream */
  border-bottom: 4px solid #FFC107;
}

.bg-carrier-ltc {
  background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%);
  /* Pink */
  border-bottom: 4px solid #E91E63;
}

.bg-carrier-tplus {
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
  /* Cyan */
  border-bottom: 4px solid #00BCD4;
}

.bg-carrier-etl {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
  /* Blue */
  border-bottom: 4px solid #2196F3;
}

.bg-carrier-default {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
  border-bottom: 4px solid #9E9E9E;
}

/* Number Styling */
.phone-number {
  font-family: "Roboto", "Noto Serif Lao", "Noto Sans Lao Looped", Phetsarath, sans-serif !important;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0D47A1;
  /* Deep Blue */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

/* Badges */
.badge-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Action Buttons */
.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.2s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.action-btn:hover {
  transform: scale(1.1);
}

.btn-call {
  background-color: #795548;
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-messenger {
  background-color: #0084FF;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .digit-box {
    width: 35px;
    height: 45px;
    font-size: 20px;
  }
}