@import 'global.css';

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    font-family: 'Inter', 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    top: 55%;
    /* Shifted up slightly from 60% */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115vw;
    /* Slightly larger */
    height: 115vh;
    background-image: url('/images/CDC Logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.12;
    /* Slightly more visible than the default svnit watermark */
    z-index: -1;
    pointer-events: none;
}

/* Subtle decorative background shapes — muted and low-contrast */
.circle {
    display: none
}

/* Simple card container */
#container {
    position: relative;
    z-index: 1;
    width: 420px;
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.55);
    /* Increased transparency */
    backdrop-filter: blur(10px);
    /* Refined glass effect */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
    border: 1px solid rgba(16, 24, 40, 0.04);
    color: var(--text);
    overflow: hidden;
    /* Ensure watermark doesn't spill out of rounded corners */
}

#container::before {
    display: none;
}

/* Heading */
#container h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

/* Input Fields */
input,
select {
    width: 100%;
    padding: 12px;
    margin: 10px 0 16px;
    border: 1px solid #e6e9ee;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    outline: none;
    font-size: 15px;
}

input::placeholder {
    color: var(--muted-2)
}

input:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(39, 73, 109, 0.08);
}

/* Labels */
label {
    font-size: 16px;
    margin-left: 4px;
}

/* Password eye button */
/* #btn {
    position: absolute;
    right: 45px;
    top: 45%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
} */

/* Register Button */
#register {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.18s ease;
}

#register:hover {
    background-color: var(--accent)
}

/* Login Link */
p a {
    color: #F25E1E;
    font-weight: bold;
}

/* Position wrapper around password input */
.password-wrapper {
    position: relative;
    width: 100%;
}

/* Style and position the eye icon button */
#btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted-1);
    cursor: pointer
}

/* Hide validation tick for password fields to avoid overlap with eye icon */
input[type="password"].form-control {
    background-image: none !important;
    padding-right: 40px !important;
    /* Ensure enough space for eye icon */
}