/* General styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #1e1e2a;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container and card */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: #fff;
    border-radius: 8px;
    width: 340px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Header with paint effect */
.login-header {
    background: white;
    color: white;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
}

.login-header img {
    width: 100%;
}

.login-header .login-header-title {
    position: absolute;
    top: 0;
    font-size: 5rem;
    margin: 0;
    font-weight: 600;
    color: white;
}

/* Inputs */
.input-group {
    margin: 1rem 0;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

/* Button */
.btn {
    margin-top: 1rem;
    width: 100%;
    padding: 0.75rem;
    border: none;
    background: linear-gradient(to right, #c653ff, #ff69b4);
    color: white;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(to right, #b43de0, #ff50a1);
}

form {
    padding: 15px;
}


/* Error styles */
.input-error {
    border-color: #e74c3c;
    background-color: #fff5f5;
    color: #e74c3c;
}

.input-error::placeholder {
    color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    text-align: left;
}


/* Focus state (when clicked or typed into) */
.input-group input:focus {
    border-color: #e14eca;
    box-shadow: 0 0 0 2px rgba(198, 83, 255, 0.2);
    outline: none;
}

.full-page {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
