/* Center the page content */
body {
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical centering */
    align-items: center;     /* horizontal centering */
    height: 100vh;
    margin: 0;
    font-family: 'Lexend', sans-serif;
    background-color: #f0f0f0;
}

/* Tickify logo */
.logo {
    font-size: 48px;
    font-weight: bold;
    color: #ad1c1d;
    margin-bottom: 30px;
    text-align: center;
}

/* Login container */
.login-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 350px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    align-content: center;
}

/* Heading */
.login-container h2 {
    text-align: center;
    color: #ad1c1d;
}

/* Form groups */
.form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

.form-group input, .form-group select {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #8C6E6E;
    color: #fff;
}

.form-group input:focus, .form-group select:focus {
    border-color: #ad1c1d;
    outline: none;
}

.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E%3Cpath fill='%23cecece' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 5px;
    cursor: pointer;
}

/* Buttons and links */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #ad1c1d;
    color: #cecece;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-size: 16px;
}
.login-container a{
    width: 91.429%;
}
.btn:hover {
    background-color: #70393b;
    transform: translateY(-2px);
}

/* Error and success messages */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.success-message {
    color: green;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* Top-left login button (optional, if needed) */
.login {
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 20px;
    padding: 8px 14px;
    font-family: 'Lexend', sans-serif;
    text-decoration: none;
    color: white;
    background-color: #ad1c1d;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s;
}

.login:hover {
    background-color: #70393b;
    transform: translateY(-2px);
}

/* Link hover styling */
.link:hover {
    text-decoration: underline;
}

.material-icons {
    margin: auto;
    color: #ad1c1d;
    font-size: 40px;
}