* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Main Phone Frame */
.phone {
    width: 100%;
    min-height: 100vh;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

/* Onboarding Screens */
.screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.screen.active {
    opacity: 1;
    pointer-events: all;
}

.top {
    flex: 1;
    overflow: hidden;
    background: #fff;
    padding: 32px 22px 0;
    overflow-y: auto;
}

.center-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.bottom {
    flex-shrink: 0;
    background: #1a7bde;
    padding: 28px 26px 32px;
    position: relative;
    min-height: 240px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.dot {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
}

.dot.active {
    background: #fff;
    width: 32px;
}

.bottom h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bottom p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 280px;
}

.skip {
    position: absolute;
    bottom: 36px;
    left: 26px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.next-btn {
    position: absolute;
    bottom: 28px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo */
.logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.tree-svg {
    margin-bottom: 4px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1a3a5c;
}

.brand-name span {
    color: #1a7bde;
}

.small-brand {
    font-size: 18px;
}

.brand-tagline {
    font-size: 9.5px;
    letter-spacing: 2.5px;
    color: #555;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Language */
.lang-label {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 14px;
}

.lang-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-item {
    border: 1.5px solid #d0e8ff;
    border-radius: 10px;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #fff;
}

.lang-item.selected {
    background: #e8f4ff;
    border-color: #1a7bde;
}

.lang-flag {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1a7bde;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lang-flag.green {
    background: #006a4e;
}

.lang-flag.orange {
    background: #ff6600;
}

.lang-text {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    flex: 1;
}

.bangla {
    font-family: 'Hind Siliguri', sans-serif;
}

.lang-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #1a7bde;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a7bde;
    font-size: 14px;
    visibility: hidden;
}

.lang-item.selected .lang-check {
    visibility: visible;
}

/* Feature List */
.feat-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 18px;
}

.feat-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.feat-item {
    background: #e8f4fb;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    color: #1a3a5c;
    font-weight: 500;
}

/* Done */
.done-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
    gap: 16px;
}

.check-circle {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: #1a7bde;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: 700;
    box-shadow: 0 0 0 15px #e8f4ff;
}

.done-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
}

.done-sub {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-width: 260px;
}

.start-btn,
.primary-btn {
    margin-top: 12px;
    background: #1a7bde;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    text-align: center;
}

/* Gift */
.gift-box {
    width: 170px;
    height: 150px;
    background: #2196f3;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px rgba(26, 123, 222, .18);
}

.gift-lid {
    position: absolute;
    left: -14px;
    top: -20px;
    width: 198px;
    height: 36px;
    background: #ff7043;
    border-radius: 10px;
}

.gift-ribbon {
    position: absolute;
    left: 72px;
    top: -20px;
    width: 26px;
    height: 170px;
    background: #ff5722;
}

.gift-text {
    position: absolute;
    left: 34px;
    top: 55px;
    background: #ff5722;
    color: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    transform: rotate(-8deg);
    font-size: 14px;
    font-weight: 700;
}

/* Auth */
.auth-top {
    flex: 1;
    background: #fff;
    padding: 28px 24px;
    overflow-y: auto;
    height: 100%;
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.back-btn {
    border: none;
    background: #e8f4ff;
    color: #1a7bde;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 13px;
    color: #667085;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tab-box {
    display: flex;
    background: #eef6ff;
    padding: 5px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 11px 10px;
    border-radius: 10px;
    font-weight: 600;
    color: #1a7bde;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.tab-btn.active {
    background: #1a7bde;
    color: #fff;
    box-shadow: 0 8px 18px rgba(26, 123, 222, 0.22);
}

.form-group {
    margin-bottom: 13px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 7px;
}

.form-group input {
    width: 100%;
    border: 1.5px solid #d0e8ff;
    border-radius: 12px;
    padding: 13px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
}

.form-group input:focus {
    border-color: #1a7bde;
    box-shadow: 0 0 0 3px rgba(26, 123, 222, 0.1);
}

.fee-card {
    background: #fff7e6;
    border: 1.5px solid #ffd18a;
    color: #8a5300;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.full-btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
}

.msg {
    margin: 0 0 12px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.5;
}

.msg.ok {
    background: #e8f9ef;
    color: #176c34;
    border: 1px solid #b7ebc9;
}

.msg.err {
    background: #fff1f0;
    color: #a8071a;
    border: 1px solid #ffccc7;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #a8071a;
    font-size: 12px;
}

.small-link {
    margin-top: 12px;
    text-align: center;
    font-size: 12.5px;
    color: #667085;
}

.small-link a {
    color: #1a7bde;
    font-weight: 700;
}

.remember-row {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12.5px;
    color: #667085;
    margin: 8px 0 10px;
}

/* Dashboard */
.dashboard {
    padding: 28px 24px;
    background: #f7fbff;
    height: 100%;
    overflow-y: auto;
}

.dash-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 12px 36px rgba(26, 123, 222, 0.12);
    margin-bottom: 14px;
}

.dash-card h3 {
    color: #1a3a5c;
    margin-bottom: 8px;
    font-size: 18px;
}

.dash-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px;
    color: #475467;
}

.dash-row:last-child {
    border-bottom: none;
}

.dash-row strong {
    color: #1a3a5c;
    text-align: right;
}

.copy-btn,
.logout-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.copy-btn {
    background: #1a7bde;
    color: #fff;
    margin-top: 12px;
}

.copy-btn.secondary {
    background: #e8f4ff;
    color: #1a7bde;
}

.logout-btn {
    background: #fff1f0;
    color: #a8071a;
    border: 1px solid #ffccc7;
    margin-top: 10px;
}

.muted-text {
    font-size: 13px;
    color: #667085;
    line-height: 1.6;
}