/* =======================================
   🌟 MASTER CSS - POP UI / NEO-BRUTALISM
   (Navbar, Footer, Login, Signup, Forgot Pass, Contact, Complaint, Privacy)
   ======================================= */

/* 1. GLOBAL SETTINGS */
html { zoom: 0.8; }
body {
    font-family: 'Outfit', sans-serif !important;
    background-image: url('../images/bg.jpg'); 
    background-size: cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat;
    background-color: #f4f6fa; color: #111; margin: 0;
    padding-top: 115px; padding-bottom: 95px; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column;
}
@keyframes fadeIn { from {opacity: 0; transform: translateY(20px);} to {opacity: 1; transform: translateY(0);} }

/* =======================================
   2. NAVBAR & FOOTER (CYBER-TECH THEME)
   ======================================= */
.cyber-navbar { background: #0f1015 !important; border-bottom: 3px solid #22d3ee !important; padding: 16px 0 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.brand-icon-box { background: linear-gradient(135deg, #22d3ee, #0284c7); border: 2px solid #22d3ee; border-radius: 8px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 10px rgba(34, 211, 238, 0.4); font-size: 1.1rem; color: #0f1015; }
.portal-text { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: #fff; }
.brand-tag { background: #a855f7; border: 2px solid #22d3ee; padding: 1px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; color: #fff; box-shadow: 0 0 8px rgba(168, 85, 247, 0.5); }
.custom-toggler { border: 2px solid #22d3ee !important; border-radius: 8px; background: rgba(34, 211, 238, 0.1); padding: 6px 10px; transition: all 0.2s ease; }
.custom-toggler:hover { background: rgba(34, 211, 238, 0.2); }
.navbar-nav .nav-link-pop { color: #cbd5e1 !important; font-weight: 600; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.5px; padding: 8px 16px !important; border: 2px solid transparent; border-radius: 8px; transition: all 0.25s ease; }
.navbar-nav .nav-link-pop:hover { color: #fff !important; background: rgba(255, 255, 255, 0.05); border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 0 15px rgba(34, 211, 238, 0.2); transform: translateY(-2px); }
.link-home:hover { border-color: #f43f5e !important; color: #f43f5e !important; } 
.link-create:hover { border-color: #22c55e !important; color: #22c55e !important; } 
.link-forgot:hover { border-color: #eab308 !important; color: #eab308 !important; } 
.link-contact:hover { border-color: #22d3ee !important; color: #22d3ee !important; } 
.link-support:hover { border-color: #c084fc !important; color: #c084fc !important; } 
.footer-cyber { position: fixed; bottom: 0; left: 0; width: 100%; background: #0f1015; color: #94a3b8; font-size: 13px; font-weight: 700; text-align: center; padding: 16px 20px; border-top: 3px solid #22d3ee; z-index: 100; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6); }
.footer-year { color: #22d3ee; } .footer-rj { color: #f43f5e; }

/* =======================================
   3. COMMON FORM ELEMENTS & ALERTS
   ======================================= */
.form-label { font-size: 0.95rem; font-weight: 700; color: #000; text-transform: uppercase; margin-bottom: 8px; }
.form-control, .form-select { background: #fff; border: 3px solid #000; color: #000; border-radius: 10px; padding: 12px 15px; font-size: 1.05rem; font-weight: 600; transition: all 0.2s ease; box-shadow: 3px 3px 0px rgba(0,0,0,0.1); }
.form-control:focus, .form-select:focus { background: #fff; border-color: #000; box-shadow: 4px 4px 0px #4f46e5; color: #000; outline: none; }
.form-control[readonly], .form-control:disabled { background: #e5e7eb; color: #555; cursor: not-allowed; }
.form-control::placeholder { color: #888; font-weight: 500; }
.letter-spacing-2 { letter-spacing: 2px; font-weight: 800; }
.otp-input { letter-spacing: 8px; text-align: center; font-size: 1.3rem; font-weight: 800; }
.alert { text-align: left; font-size: 15px; font-weight: 700; border: 3px solid #000; border-radius: 10px; padding: 14px; margin-bottom: 22px; box-shadow: 3px 3px 0px #000; color: #000; }
.alert-success { background: #86efac; } .alert-danger { background: #fca5a5; } .alert-warning { background: #fde047; } .alert-info { background: #d8b4fe; }

/* BUTTONS */
.btn-primary { background: #4f46e5; color: #fff; border: 3px solid #000; border-radius: 12px; padding: 12px; font-weight: 800; letter-spacing: 1px; font-size: 1.1rem; text-transform: uppercase; box-shadow: 4px 4px 0px #000; transition: all 0.1s ease; }
.btn-primary:hover:not(:disabled) { background: #4338ca; transform: translate(2px, 2px); box-shadow: 2px 2px 0px #000; color: #fff; }
.btn-primary:active:not(:disabled) { transform: translate(4px, 4px); box-shadow: 0px 0px 0px #000; }
.btn-primary:disabled { background: #9ca3af; box-shadow: 0px 0px 0px #000; transform: translate(4px, 4px); cursor: not-allowed; border-color: #555; }
.btn-warning { background: #fde047; color: #000; border: 3px solid #000; border-radius: 12px; font-weight: 800; letter-spacing: 1px; font-size: 1.15rem; text-transform: uppercase; box-shadow: 4px 4px 0px #000; transition: all 0.1s ease; }
.btn-warning:hover { background: #facc15; transform: translate(2px, 2px); box-shadow: 2px 2px 0px #000; color: #000; }
.btn-warning:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px #000; }
.btn-pop { width: 100%; background: #fde047; color: #000; border: 3px solid #000; border-radius: 12px; padding: 12px; font-weight: 800; letter-spacing: 1px; font-size: 1.1rem; text-transform: uppercase; box-shadow: 4px 4px 0px #000; cursor: pointer; transition: all 0.1s ease; display: inline-block; text-decoration: none; text-align: center; margin-top: 15px;}
.btn-pop:hover { background: #facc15; transform: translate(2px, 2px); box-shadow: 2px 2px 0px #000; color: #000; }
.btn-pop:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px #000; }
.input-group .btn, .input-group .btn-outline-light { border: 3px solid #000; border-left: none; border-radius: 0 10px 10px 0; font-weight: 800; text-transform: uppercase; padding: 0 20px; transition: all 0.2s; color: #000; }
.input-group .btn-outline-light { background: #fca5a5; } .input-group .btn-outline-light:hover { background: #f87171; color: #000; }
#sendMobileOtpBtn, .btn-send-otp { background: #7dd3fc; } #sendMobileOtpBtn:hover, .btn-send-otp:hover { background: #38bdf8; color: #000; }
.btn-track { background: #a3e635; } .btn-track:hover { background: #84cc16; color: #000; }

/* =======================================
   4. LOGIN PAGE SPECIFIC STYLES
   ======================================= */
.main-wrapper { display: flex; justify-content: center; align-items: flex-start; gap: 40px; max-width: 1600px; margin: 0 auto; padding: 20px 30px; box-sizing: border-box; }
.services-section { flex: 1; width: 100%; padding: 10px; }
.section-title { font-size: 2.2rem; font-weight: 800; color: #000; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 12px; background: #a3e635; z-index: -1; transform: skewX(-15deg); }
.service-card { background: #ffffff; border-radius: 16px; border: 3px solid #000; color: #000; transition: all 0.2s ease-in-out; box-shadow: 6px 6px 0px #000; height: 100%; overflow: hidden; }
.service-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0px #000; }
.service-header { padding: 16px; font-weight: 700; color: #000; font-size: 1.15rem; border-bottom: 3px solid #000; text-transform: uppercase; letter-spacing: 0.5px; }
.header-samagra { background: #fca5a5; } .header-voter { background: #7dd3fc; } .header-download { background: #86efac; } .header-recovery { background: #fde047; }
.service-body { padding: 18px; background: #fff; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card ul li { padding: 8px 0; position: relative; padding-left: 28px; font-size: 0.92rem; font-weight: 600; border-bottom: 2px dashed #e5e7eb; }
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before { content: "➔"; position: absolute; left: 0; font-size: 13px; top: 8px; color: #000; }
.auth-card { flex: none; width: 420px; background: #ffffff; border-radius: 20px; padding: 35px 25px; border: 4px solid #000; box-shadow: 12px 12px 0px #000; position: sticky; top: 110px; }
.captcha-box { display: flex; align-items: center; gap: 12px; }
.captcha-img { width: 130px; height: 48px; object-fit: cover; border-radius: 10px; border: 3px solid #000; background: #ffffff; box-shadow: 3px 3px 0px rgba(0,0,0,0.1); }
.captcha-input { background-color: #fff !important; font-size: 1.2rem; font-weight: 800; letter-spacing: 3px; text-align: center; }
.btn-create { background: #fde047; color: #000; border: 3px solid #000; border-radius: 12px; padding: 10px; font-weight: 700; text-transform: uppercase; box-shadow: 4px 4px 0px #000; text-decoration: none; display: inline-block; transition: all 0.1s ease; }
.btn-create:hover { background: #facc15; transform: translate(2px, 2px); box-shadow: 2px 2px 0px #000; color: #000; }
.avatar-container { width: 90px; height: 90px; background: #d8b4fe; border-radius: 50%; margin: 0 auto 20px auto; position: relative; overflow: hidden; border: 4px solid #000; box-shadow: 4px 4px 0px #000; display: flex; justify-content: center; align-items: center; }
.panda-face { width: 60px; height: 50px; background: #ffffff; border-radius: 50% 50% 45% 45%; position: relative; border: 2px solid #000; }
.panda-face::before, .panda-face::after { content: ''; position: absolute; width: 18px; height: 18px; background: #000; border-radius: 50%; top: -5px; }
.panda-face::before { left: -3px; }
.panda-face::after { right: -3px; }
.panda-eyes { position: absolute; top: 16px; width: 100%; display: flex; justify-content: space-between; padding: 0 8px; }
.eye-patch { width: 16px; height: 14px; background: #000; border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.eye-ball { width: 5px; height: 5px; background: #ffffff; border-radius: 50%; }
.panda-nose { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: 8px; height: 5px; background: #000; border-radius: 50%; }
.panda-hands { position: absolute; bottom: -45px; left: 0; width: 100%; height: 45px; display: flex; justify-content: space-between; padding: 0 4px; z-index: 5; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.hand { width: 26px; height: 30px; background: #000; border-radius: 40% 40% 50% 50%; border: 2px solid #fff; display: flex; justify-content: space-around; align-items: flex-start; padding-top: 3px; }
.finger { width: 4px; height: 5px; background: #fff; border-radius: 50%; }
.hands-cover .panda-hands { transform: translateY(-50px); }

/* =======================================
   5. SIGNUP PAGE SPECIFIC STYLES
   ======================================= */
.signup-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; padding: 20px 15px; min-height: calc(100vh - 180px); }
.signup-box { width: 100%; max-width: 500px; background: #ffffff; border-radius: 20px; padding: 40px 30px; border: 4px solid #000; box-shadow: 12px 12px 0px #000; }
.signup-box h3 { text-align: center; font-weight: 800; font-size: 1.8rem; color: #000; text-transform: uppercase; margin-bottom: 25px; }
.details-card { background: #fef08a; border-radius: 12px; border: 3px dashed #000; margin-top: 15px; padding: 20px; box-shadow: 4px 4px 0px #000; }
.detail-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.detail-label { color: #000 !important; font-weight: 700; }
.detail-value { color: #000 !important; font-weight: 800; }
.footer-text { text-align: center; margin-top: 25px; font-size: 15px; color: #000; font-weight: 600;}
.footer-text a { color: #4f46e5; text-decoration: none; font-weight: 800; text-transform: uppercase; border-bottom: 2px solid #4f46e5; }
.footer-text a:hover { border-bottom-width: 4px; }

/* =======================================
   6. FORGOT PASSWORD SPECIFIC STYLES
   ======================================= */
.forgot-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; padding: 0 20px; min-height: calc(100vh - 180px); }
.forgot-box { width: 100%; max-width: 550px; background: #ffffff; border-radius: 20px; padding: 50px 40px; border: 4px solid #000; box-shadow: 12px 12px 0px #000; text-align: center; }
.forgot-box h2 { font-weight: 800; color: #000; text-transform: uppercase; margin-bottom: 12px; font-size: 2.2rem; }
.forgot-box p { color: #000; font-size: 16px; font-weight: 600; margin-bottom: 30px; text-transform: uppercase;}
.back-link { color: #4f46e5; text-decoration: none; font-weight: 800; text-transform: uppercase; display: inline-block; margin-top: 15px; font-size: 1.05rem; border-bottom: 2px solid #4f46e5; }
.back-link:hover { border-bottom-width: 4px; }

/* =======================================
   7. CONTACT US PAGE SPECIFIC STYLES
   ======================================= */
.contact-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; padding: 0 15px; min-height: calc(100vh - 180px); }
.contact-box { width: 100%; max-width: 480px; background: #ffffff; border-radius: 20px; padding: 40px 30px; border: 4px solid #000; box-shadow: 12px 12px 0px #000; text-align: center; animation: fadeIn 0.4s ease-in-out; }
.contact-box h2 { font-weight: 800; color: #000; text-transform: uppercase; margin-bottom: 10px; font-size: 2rem; }
.desc-text { color: #000; font-size: 15px; font-weight: 600; margin-bottom: 25px; text-transform: uppercase; text-align: center;}
.info-row { display: flex; align-items: center; background: #fff; border: 3px solid #000; border-radius: 12px; padding: 15px; margin-bottom: 15px; box-shadow: 4px 4px 0px rgba(0,0,0,1); text-align: left; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.info-row:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0px #000; }
.info-icon { background: #a3e635; border: 2px solid #000; border-radius: 8px; width: 45px; height: 45px; display: flex; justify-content: center; align-items: center; font-size: 1.3rem; margin-right: 15px; flex-shrink: 0; box-shadow: 2px 2px 0px #000; }
.info-row:nth-child(2) .info-icon { background: #7dd3fc; } 
.info-row:nth-child(3) .info-icon { background: #fca5a5; } 
.info-text { display: flex; flex-direction: column; }
.info-text strong { font-size: 0.8rem; color: #555; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.info-text a, .info-text span { color: #000; font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.info-text a:hover { text-decoration: underline; color: #4f46e5; }

/* =======================================
   8. COMPLAINT & SUPPORT SPECIFIC STYLES
   ======================================= */
.support-wrapper { display: flex; justify-content: center; width: 100%; flex: 1; padding: 40px 15px; }
.support-box { width: 100%; max-width: 750px; background: #ffffff; border-radius: 20px; padding: 40px 30px; border: 4px solid #000; box-shadow: 12px 12px 0px #000; margin: auto; animation: fadeIn 0.4s ease-in-out; }
.support-box h2 { font-weight: 800; color: #000; text-transform: uppercase; text-align: center; margin-bottom: 10px; font-size: 2.2rem; }
.dashed-hr { border-top: 3px dashed #000; opacity: 1; margin: 30px 0; }
.track-heading { font-weight: 800; text-transform: uppercase; color: #4f46e5; text-align: center; margin-bottom: 15px; }
.table-responsive { border: 3px solid #000; border-radius: 10px; overflow: hidden; box-shadow: 4px 4px 0px #000; background: #fff; }
.table { margin-bottom: 0; }
.table th { background: #000; color: #fff; text-transform: uppercase; font-weight: 800; border: 1px solid #000; padding: 12px; }
.table td { border: 1px solid #000; font-weight: 600; vertical-align: middle; color: #000; padding: 12px; }
.badge { border: 2px solid #000; font-weight: 800; text-transform: uppercase; padding: 6px 10px; box-shadow: 2px 2px 0px #000; color: #000 !important; }
.bg-warning { background: #fde047 !important; } .bg-success { background: #a3e635 !important; } .bg-info { background: #7dd3fc !important; }

/* =======================================
   9. GENERIC TEXT PAGES (Privacy, Terms)
   ======================================= */
.page-wrapper { display: flex; justify-content: center; width: 100%; flex: 1; padding: 40px 15px; }
.page-box { width: 100%; max-width: 900px; background: #ffffff; border-radius: 20px; padding: 50px 40px; border: 4px solid #000; box-shadow: 12px 12px 0px #000; margin: auto; animation: fadeIn 0.4s ease-in-out; }
.page-title { font-weight: 800; color: #000; text-transform: uppercase; text-align: center; font-size: 2.5rem; margin-bottom: 5px; border-bottom: 4px solid #a3e635; display: inline-block; padding-bottom: 5px; }
.page-content { text-align: left; margin-top: 30px; }
.page-content h2 { font-weight: 800; font-size: 1.4rem; color: #4f46e5; text-transform: uppercase; margin-top: 30px; margin-bottom: 12px; }
.page-content p { font-size: 1.05rem; font-weight: 600; color: #333; line-height: 1.6; margin-bottom: 15px; }
.page-content ul { list-style: none; padding: 0; margin-bottom: 20px; }
.page-content ul li { font-size: 1.05rem; font-weight: 600; color: #333; padding: 8px 0 8px 30px; position: relative; border-bottom: 2px dashed #e5e7eb; }
.page-content ul li:last-child { border-bottom: none; }
.page-content ul li::before { content: "➔"; position: absolute; left: 0; top: 8px; color: #000; font-size: 14px; }
.contact-highlight { background: #fef08a; border: 3px dashed #000; border-radius: 12px; padding: 20px; margin-top: 20px; box-shadow: 4px 4px 0px #000; }
.contact-highlight p { margin: 0; font-size: 1.1rem; }
.contact-highlight a { color: #4f46e5; text-decoration: none; font-weight: 800; }
.contact-highlight a:hover { text-decoration: underline; }

/* =======================================
   10. RESPONSIVE QUERIES (Mobile View)
   ======================================= */
   * {
    box-sizing: border-box;
}
@media (max-width: 1400px) {
    .main-wrapper { flex-direction: column-reverse; align-items: center; gap: 30px; padding: 15px; }
    .services-section { width: 100%; padding: 0; }
    .auth-card { width: 100%; max-width: 450px; position: relative; top: 0; }
}

@media (max-width: 576px) {
    body { padding-top: 100px; padding-bottom: 95px; }
    .signup-box, .forgot-box, .contact-box, .support-box, .page-box { padding: 30px 20px; border-radius: 16px; border-width: 3px; box-shadow: 6px 6px 0px #000; max-width: 100%; }
    .signup-box h3, .forgot-box h2, .contact-box h2, .support-box h2 { font-size: 1.5rem; }
    .page-title { font-size: 1.8rem; }
    .forgot-box p, .desc-text { font-size: 14px; margin-bottom: 20px; }
    .form-control, .form-select { font-size: 0.95rem; padding: 10px 12px; }
    .btn-primary, .btn-warning, .btn-pop { font-size: 1rem; padding: 12px; }
    .form-label { font-size: 0.85rem; }
    .input-group .btn, .input-group .btn-outline-light { padding: 0 15px; font-size: 0.9rem; }
    .info-row { padding: 12px; margin-bottom: 12px; border-width: 2px; box-shadow: 3px 3px 0px #000; }
    .info-row:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0px #000; }
    .info-icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .info-text a, .info-text span { font-size: 1rem; }
    .page-content h2 { font-size: 1.2rem; }
    .page-content p, .page-content ul li { font-size: 0.95rem; }
}