/* login_common.css - Base styles for consisteny with Index */

/* =========================================
   VARIABLES CSS (Copied from index.php)
   ========================================= */
:root {
    --primary: #ec4899;
    --neon-blue: #00f7ff;
    --bg-body: #fffbeb;
    --bg-card: #ffffff;
    --text-main: #1f2937;
    --text-sub: #666666;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: #eeeeee;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hero-overlay: 0.7;
}

[data-theme="dark"] {
    --bg-body: #0b0b15;
    --bg-card: #151525;
    --text-main: #f3f4f6;
    --text-sub: #a1a1aa;
    --border-color: #2d2d3d;
    --nav-bg: rgba(15, 15, 25, 0.95);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --hero-overlay: 0.7;
}

/* =========================================
   RESETS & TYPOGRAPHY
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    /* Prevent horizontal scroll/white bars */
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    padding-bottom: 0;
    /* Override index padding if needed, or keep for footer nav */
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Scrollbar */
::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Common Utility */
.playfair {
    font-family: 'Playfair Display', serif;
}

/* =========================================
   PASSWORD TOGGLE UI
   ========================================= */
.input-group,
.input-wrap {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--primary);
    z-index: 10;
    padding: 5px;
    opacity: 0.7;
    transition: 0.3s;
}

.password-toggle:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Ensure inputs don't overlap with the icon */
.magic-input,
.input-field {
    padding-right: 45px !important;
}