.cursor {
    z-index: 999;
    background: #99e4ed7a;
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 20px pink, 0 0 60px pink, 0 0 100px pink;
    animation: colors 5s infinite;
    transform: translate(-50%, -50%);
    display: none;
}

@keyframes colors {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}

.cursor::before {
    content: '';
    position: absolute;
    background: #ffff0000;
    width: 200px;
    height: 200px;
    opacity: 0.2;
    transform: translate(-30%, -30%);
    border-radius: 50%;
    border: 2px solid #00b7ff49;
}

 /* --- General Reset & Page Setup --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        body {
            background-image: url('bookbg.jpg');
            background-size: cover;
            background-position: center;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            padding: 0;
        }

        .login-main {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        /* --- Shared navigation from index2.html --- */
        .navbar {
            --angle: 0deg;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            padding: 18px 5%;
            margin: 20px 11%;
            background: rgba(10, 25, 47, .95);
            border-radius: 45px;
            backdrop-filter: blur(10px);
            position: relative;
            z-index: 1;
        }

        .navbar::before {
            content: "";
            position: absolute;
            inset: 0;
            padding: 3px;
            border-radius: inherit;
            background: conic-gradient(from var(--angle), #FF6B6B, #4CAF7D, #FFFBE0, #3949AB, #DC3DAF, #43A047, #FFD700, #FF6B6B);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
            animation: glowing-border 2.5s linear infinite;
        }

        @property --angle {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }

        @keyframes glowing-border {
            to { --angle: 360deg; }
        }

        .logo {
            color: white;
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: bold;
        }

        .nav-links {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 20px;
            justify-content: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: .3s;
            white-space: nowrap;
        }

        .nav-links a:hover { color: #60a5fa; }

        .btn {
            display: flex;
            color: white;
            background: #94A3B8;
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            transition: .3s;
            white-space: nowrap;
        }

        .btn:hover { background: #F4C430; }

        .ham { display: none; color: rgb(131, 131, 88); }

        /* --- Form Container --- */
        .appointment-box {
            width: min(100%, 900px);
            background: rgba(8, 17, 31, 0.82);
            backdrop-filter: blur(12px);
            display: flex;
            justify-content: center;
            padding: 36px;
            border: 1px solid rgba(255, 255, 255, .3);
            border-radius: 20px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
        }

        .appointment-box form { width: 100%; }

        /* --- Header Section --- */
        .header-section {
            text-align: center;
            margin-bottom: 35px;
            position: relative;
        }

        .header-section .title-icon {
            font-size: 2.5rem;
            color: #e9e3f1; /* Dark purple brand color */
            margin-bottom: 10px;
        }

        .header-section h2 {
            font-family: 'Playfair Display', serif;
            color: #dcd7e3;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .header-section p {
            color: #eee3ef;
            font-size: 0.95rem;
            margin-bottom: 25px;
        }

        /* Gold separator line with star decoration */
        .separator {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            position: relative;
        }
        .separator::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            height: 1px;
            background: radial-gradient(circle, #D4AF37 0%, rgba(212,175,55,0) 70%);
        }
        .separator i {
            color: #D4AF37;
            background-color: #FAF4EB;
            padding: 0 15px;
            z-index: 1;
            font-size: 0.9rem;
        }

        /* --- Two Column Layout --- */
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            column-gap: 30px;
            row-gap: 20px;
            margin: 30px 0 0;
        }

        /* --- Input Containers & Controls --- */
        .input-group {
            display: flex;
            flex-direction: column;
        }

        .input-group label {
            font-weight: 600;
            color: #cec8c8;
            font-size: 0.9rem;
            margin-bottom: 8px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-wrapper .icon {
            position: absolute;
            left: 15px;
            color: #7A7A7A;
            font-size: 0.95rem;
            pointer-events: none;
        }

        /* Unified Input / Select / Textarea Styles */
        .input-wrapper input,
        .input-wrapper select,
        .input-wrapper textarea {
            width: 100%;
            padding: 14px 15px 14px 45px; /* Leaves room for the absolute icon */
            border: 1px solid #E3D9C9;
            border-radius: 8px;
            background-color: #FCF9F4;
            color: #333;
            font-size: 0.9rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .input-wrapper input:focus,
        .input-wrapper select:focus,
        .input-wrapper textarea:focus {
            border-color: #2F1C4E;
            background-color: #fff;
            box-shadow: 0 0 0 3px rgba(47, 28, 78, 0.08);
        }

        /* Placeholder colors */
        .input-wrapper ::placeholder {
            color: #9C9A96;
            opacity: 1;
        }

        /* Dropdown custom arrows styling */
        .input-wrapper select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            cursor: pointer;
        }
        
        .select-group::after {
            content: "\f107";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            right: 15px;
            color: #666;
            pointer-events: none;
        }

        /* Textarea specific height configuration */
        .input-wrapper textarea {
            height: 110px;
            resize: none;
            padding-top: 12px;
        }

        /* Fix positioning of icon for textarea */
        .input-wrapper.textarea-wrapper .icon {
            top: 15px;
        }

        /* --- Button and Footer --- */
        .button-section {
            grid-column: span 2;
            text-align: center;
            margin-top: 15px;
        }

        .submit-btn {
            width: 100%;
            background-color: #a89813; /* Deep Royal Purple */
            color: white;
            border: none;
            padding: 16px;
            font-size: 1.05rem;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: background 0.2s ease;
        }

        .submit-btn:hover {
            background-color: #261337;
        }

        .submit-btn i {
            font-size: 1.1rem;
        }

        .security-note {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 15px;
            color: #ececea;
            font-size: 0.82rem;
        }

        .security-note i {
            color: #e5b518;
        }

        /* --- Shared footer from index2.html --- */
        footer {
            background: #08111F;
            color: #fff;
            font-family: 'Poppins', sans-serif;
        }

        .footer-container {
            width: 85%;
            margin: auto;
            display: flex;
            justify-content: space-between;
            padding: 55px 0 40px;
            gap: 60px;
        }

        .footer-col { flex: 1; }

        .footer-col h2 {
            color: #fff;
            font-family: 'Poppins', sans-serif;
            font-size: 23px;
            font-weight: 600;
        }

        .line {
            width: 180px;
            height: 2px;
            margin: 12px 0 28px;
            background: #ff7b28;
        }

        .footer-col { color: #ececec; font-size: 15px; line-height: 1.9; }
        .footer-col strong { color: #fff; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 14px; color: #ececec; }
        .footer-col ul li i { color: #fff; }

        .contact li { display: flex; align-items: flex-start; gap: 15px; }
        .contact li i { margin-top: 6px; }

        .social-icons { margin-top: 35px; }
        .social-icons a {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 35px;
            height: 35px;
            margin-right: 12px;
            background: #655f9259;
            border-radius: 50%;
            text-decoration: none;
            transition: .3s;
        }

        .social-icons a i { color: #d7c1b3; font-size: 22px; }
        .social-icons a:hover { background: #ff7b28; }
        .social-icons a:hover i { color: #fff; }

        .copyright {
            padding: 18px;
            background: #000;
            color: #fff;
            font-size: 13px;
            text-align: center;
        }

        .copyright a { color: #fff; }

        /* --- Responsive Design --- */
        @media (max-width: 768px) {
            .navbar {
                flex-wrap: nowrap;
                margin: 20px 5%;
                padding: 14px 5%;
            }
            .nav-links a { display: none; }
            .ham { display: flex; justify-content: flex-end; }
            .btn { padding: 8px 15px; }

            .form-grid {
                grid-template-columns: 1fr;
                row-gap: 15px;
                margin-top: 24px;
            }
            .button-section {
                grid-column: span 1;
            }
            body {
                padding: 20px 10px;
            }

            .login-main { padding: 20px 0; }
            .appointment-box { padding: 26px 18px; }
            .header-section h2 { font-size: 1.75rem; }

            .footer-container {
                flex-direction: column;
                gap: 40px;
            }

            .footer-col h2 { font-size: 28px; }
            .line { width: 160px; }
        }
