body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
}

.glass-card {
    width: 320px; /* Increased width slightly */
    min-height: 360px;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4s linear infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-container {
    margin-bottom: 2rem;
    width: 150px;
}

.logo-container img {
    width: 100%;
}

h2 {
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.input-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.input-container input {
    padding-left: 2.5rem; /* Make space for the icon */
    margin-bottom: 0; /* Remove default margin from input */
}

.input-container .input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: rgb(37, 150, 190); /* NEDX Brand Blue */
    stroke: currentColor;
}


input {
    display: block;
    margin-bottom: 1rem;
    padding: 0.8rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

input::placeholder {
    color: #aaa;
}

button {
    padding: 0.8rem 1rem;
    width: 100%;
    background: rgb(255, 77, 0); /* NEDX Brand Orange */
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

button:disabled {
    background: #555;
    cursor: not-allowed;
}

button:not(:disabled):hover {
    background: rgb(204, 61, 0); /* Darker shade for hover */
}

.message {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    height: 20px;
}

.message.error {
    color: #ff6b6b;
}

.message.success {
    color: #6bff6b;
}

/* Spinner for loading feedback */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid rgb(255, 77, 0); /* NEDX Brand Orange */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}