@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

        :root {
            --orange: orange;
            --text-color-1: black;
            --text-color-2: #666;
            --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
            --bg-color-1: #f0f4f8;
            --bg-color-2: #fff;
            --blue-text: blue;
            --navlinks-bg-color: #d6d6ff;
            --navpop-bg: black;
            --border-color: #ddd;
        }

        * {
            font-family: "Inter", sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            text-decoration: none;
            transition: all .2s linear;
        }

        /* Apply text-transform only to specific elements, NOT inputs */
        .header .logo,
        .heading,
        label,
        .form-btn,
        .login-text,
        .page-heading {
            text-transform: capitalize;
        }

        /* Explicitly prevent text transformation on input fields */
        input[type="text"],
        input[type="tel"],
        input[type="email"],
        input[type="password"],
        select {
            text-transform: none !important;
        }

        body {
            background: var(--bg-color-1);
        }

        body.active {
            --text-color-1: #fff;
            --text-color-2: #eee;
            --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.4);
            --bg-color-1: #263238;
            --bg-color-2: #37474f;
            --blue-text: skyblue;
            --navlinks-bg-color: #39392c;
            --navpop-bg: white;
            --border-color: #546e7a;
        }

        .heading {
            text-align: center;
            padding-bottom: 2rem;
            color: var(--text-color-1);
            font-size: 4rem;
        }

        .heading span {
            position: relative;
            z-index: 0;
        }

        .heading span::before {
            content: '';
            position: absolute;
            bottom: 1rem;
            left: 0;
            z-index: -1;
            background: var(--orange);
            height: 100%;
            width: 100%;
            clip-path: polygon(0 90%, 100% 83%, 100% 100%, 0% 100%);
        }

        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: #0082e6;
            box-shadow: var(--box-shadow);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 45px;
        }

        .header .logo {
            font-weight: bolder;
            font-size: 1.9rem;
            margin-left: 5px;
            color: white;
        }

        .header .icons div {
            height: 2.0rem;
            width: 2.0rem;
            line-height: 2.0rem;
            font-size: 1.3rem;
            background: var(--bg-color-2);
            color: var(--text-color-1);
            cursor: pointer;
            text-align: center;
            border-radius: .5rem;
            margin-right: 3px;
        }

        .icons {
            margin-right: .4rem;
        }

        .header .icons div:hover {
            color: #fff;
            background: var(--orange);
        }

        .contents {
            padding-top: 20px;
            margin-bottom: 60px;
            width: 100%;
        }

        .page-heading {
            display: flex;
            padding-top: 40px;
            margin-left: 30px;
            font-size: 22px;
            font-weight: bold;
            color: var(--text-color-1);
            margin-bottom: 20px;
        }

        .page-heading i {
            margin-right: 10px;
            font-size: 34px;
            color: brown;
        }

        .form-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 800px;
            width: 96%;
            padding-top: 20px;
            margin: 0 auto;
        }

        label {
            color: var(--text-color-1);
            font-weight: 600;
        }

        input[type="text"],
        input[type="tel"],
        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 8px 12px;
            margin: 8px 0;
            border: 1px solid grey;
            border-radius: 50px;
            background: var(--navlinks-bg-color);
            transition: all 0.3s ease;
            color: var(--text-color-1);
            height: 36px;
            font-family: "Inter", sans-serif;
            text-transform: none !important;
        }

        input[type="text"]:focus,
        input[type="tel"]:focus,
        input[type="email"]:focus,
        input[type="password"]:focus {
            outline: none;
            box-shadow: 0 0 0 1px var(--orange);
            border-color: var(--orange);
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #6e8efb;
        }

        .form-btn {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 50px;
            background: var(--orange);
            color: black;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .form-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-container {
            animation: fadeIn 0.5s ease-out;
        }

        @media (max-width: 480px) {
            .form-container {
                padding: 10px;
            }

            .page-heading {
                font-size: 24px;
            }
        }

        .password-container {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
        }

        .error-container {
            background-color: #ffebee;
            border: 1px solid #ef9a9a;
            border-radius: 4px;
            padding: 10px;
            margin-bottom: 15px;
        }

        .error-msg {
            color: #c62828;
            display: block;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 5px;
        }

        .phone-input-container {
            display: flex;
            width: 100%;
        }

        select#country_code {
            width: 30%;
            padding: 8px 12px;
            margin: 8px 8px 8px 0;
            border: 1px solid grey;
            border-radius: 50px;
            background: var(--navlinks-bg-color);
            color: var(--text-color-1);
            height: 36px;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-position: right 12px top 50%;
            background-size: 12px auto;
            cursor: pointer;
            font-family: "Inter", sans-serif;
            text-transform: none !important;
        }

        input#phone {
            width: 70%;
        }

        select#country_code:focus,
        input#phone:focus {
            outline: none;
            box-shadow: 0 0 0 1px var(--orange);
            border-color: var(--orange);
        }

        .login-text {
            text-align: center;
            font-size: 13px;
            margin-top: 15px;
            color: var(--text-color-1);
        }

        .login-text a {
            font-weight: 600;
            color: var(--orange);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .login-text a:hover {
            color: #ff7b00;
        }

        .forgot-password-link {
            font-weight: 600;
        }

        /* Toast Notification Styling */
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: #4caf50;
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 10000;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            max-width: 300px;
            font-size: 16px;
            display: flex;
            align-items: center;
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .toast i {
            margin-right: 10px;
            font-size: 20px;
        }

        .toast .toast-message {
            flex: 1;
        }

        /* Loading Overlay Styling */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10001;
        }

        .spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--orange);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @media (max-width: 480px) {
            .toast {
                top: 10px;
                right: 10px;
                max-width: 90%;
            }
        }