/* ========================================================= */
/* BASE RESET & GLOBAL STYLES                               */
/* ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #0b0e17;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px 0;
}

/* ========================================================= */
/* APP CONTAINER (মোবাইল সাইজ)                              */
/* ========================================================= */
.app-container {
    width: 100%;
    max-width: 420px;
    min-height: 100vh;
    background: #0b0e17;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

/* ========================================================= */
/* BACKGROUND & CHARACTER IMAGE                             */
/* ========================================================= */
.bg-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.char-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
    opacity: 0.4;
    pointer-events: none;
}

/* ========================================================= */
/* GLASS CARD (মূল কার্ড - হুবহু ছবির মতো)                  */
/* ========================================================= */
.form-card {
    position: relative;
    z-index: 1;
    background: rgba(18, 23, 36, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 24px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* ========================================================= */
/* TITLE & HEADER AREA                                      */
/* ========================================================= */
.title-area {
    text-align: center;
    margin-bottom: 25px;
}

.title-area h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.title-area h2 span {
    color: #a855f7;
}

.title-area .line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.title-area .line span {
    width: 25px;
    height: 2px;
    background: #a855f7;
}

.title-area .line i {
    color: #a855f7;
    font-size: 12px;
}

/* ========================================================= */
/* INPUT FIELDS STYLES (হুবহু ছবির মতো)                     */
/* ========================================================= */
.input-group {
    width: 100%;
    margin-bottom: 15px;
}

.input-box {
    display: flex;
    align-items: center;
    background: rgba(18, 23, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0 15px;
    transition: 0.3s;
}

.input-box:focus-within {
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}

.input-box i {
    color: #a855f7;
    font-size: 16px;
    margin-right: 12px;
}

.input-box input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 14px 0;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.input-box input::placeholder {
    color: #777;
}

/* ========================================================= */
/* BUTTON STYLES (শিমার ইফেক্ট সহ)                          */
/* ========================================================= */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

/* শিমার এনিমেশন */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: btnShimmer 3s infinite;
}

@keyframes btnShimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-primary:active {
    transform: scale(0.96);
}

/* ========================================================= */
/* FOOTER LINKS                                             */
/* ========================================================= */
.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #888;
}

.footer a {
    color: #a855f7;
    font-weight: 600;
    text-decoration: none;
}

/* ========================================================= */
/* PREMIUM DIALOG STYLES (সফল/এরর পপআপ)                    */
/* ========================================================= */
.premium-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeInOverlay 0.3s ease;
}

.premium-dialog-overlay.active {
    display: flex;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.premium-dialog-box {
    background: #1a1e2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 24px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: popInDialog 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0.9);
}

@keyframes popInDialog {
    0% { transform: scale(0.9) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.premium-dialog-icon {
    font-size: 50px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.premium-dialog-icon .fa-check-circle {
    color: #00c897;
}

.premium-dialog-icon .fa-times-circle {
    color: #ff3b30;
}

.premium-dialog-icon .fa-exclamation-triangle {
    color: #f8c62d;
}

.premium-dialog-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.premium-dialog-msg {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 24px;
}

.premium-dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.premium-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    flex: 1;
}

.premium-btn:active {
    transform: scale(0.96);
}

.premium-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.premium-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}