/* Modern Glass Inputs */
.custom-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06); /* Dark translucent */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px; /* Full pill shape */
    color: #fff;
    backdrop-filter: blur(10px); /* Glass effect */
    transition: all 0.3s ease;
}

.custom-input:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.custom-input input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: #fff;
    font-size: 15px;
}

.custom-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.custom-input i {
    color: #bbb;
    font-size: 18px;
}

/* Override Autofill Background and Text Color */
input:-webkit-autofill {
    background: transparent !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.06) inset !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 15px !important;
    border-radius: 50px;
    transition: background-color 5000s ease-in-out 0s;
}

.phoenix-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 0;
    border: 2px solid #f59e0b; /* Amber border */
    border-radius: 50px; /* Pill shape */
    background: transparent;
    color: #f59e0b;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.phoenix-btn:hover {
    background: rgba(245, 158, 11, 0.1); /* Subtle amber glow */
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6); /* Outer glow effect */
    transform: scale(1.03);
}

/* Replace green accents with amber theme */

/* Primary Button Background */
.bg-g300 {
    background-color: #f59e0b !important; /* Amber */
    color: #fff !important;
}

/* Hover state */
.bg-g300:hover {
    background-color: #d97706 !important; /* Darker amber */
}

/* Borders using green replaced with amber */
.border-g300 {
    border-color: #f59e0b !important;
}

/* Text using green replaced with amber */
.text-g300 {
    color: #f59e0b !important;
}

/* Focus rings or glows */
.focus\:ring-g300:focus {
    --tw-ring-color: #f59e0b !important;
}

/* Lockscreen */

/* PIN Inputs */
.pin-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.pin-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.pin-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 24px;
    border-radius: 14px;
    border: 2px solid rgba(245, 158, 11, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
    transition: 0.2s;
    -webkit-text-security: disc;
    text-security: disc; /* mask */
}
.pin-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45);
}
.pin-input::-ms-reveal,
.pin-input::-ms-clear {
    display: none;
} /* misc */

/* Leave room for the fixed bottom nav (and iOS safe area) */
.pb-safe-nav {
    padding-bottom: calc(
        env(safe-area-inset-bottom) + 96px
    ); /* ~nav height + fab space */
}

/* Income Boxes */

/* expense pills */
.expense-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9999px;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.expense-red { background: linear-gradient(135deg, #f7a8a8, #ef6b6b); }
.expense-green { background: linear-gradient(135deg, #9af3c1, #3ad07a); }
.expense-box p { margin: 0; line-height: 1; }
.expense-box p:first-child { font-size: 10px; opacity: .95; }
.expense-box p:last-child { font-size: 12px; font-weight:600; }


.expense-box i {
    font-size: 20px;
}

.expense-box:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
