@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Cinzel:wght@400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary-color: #691101;
    --secondary-color: #F2C947;
    --background-color: #FFF7E3;
    --text-color: #691101;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.coin-image {
    width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.input-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 10px 0;
}

.input-spacer {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; /* Match the eye icon width */
    height: 18px;
    pointer-events: none;
}

.input-field {
    width: 100%;
    height: 44px; /* Consistent height */
    padding: 0 40px 0 12px; /* Adjusted padding */
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: left;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(105, 17, 1, 0.1);
}

.login-btn {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem auto;
    display: block;
    background-color: transparent;
}

.login-btn:hover {
    background-color: var(--primary-color);
    color: #FFF7E3;
}

.forgot-password {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.3s ease;
    text-align: center;
}

.forgot-password:hover {
    color: var(--secondary-color);
}

.signup-btn {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    margin: 0 auto;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
}

.signup-btn:hover {
    background-color: #ddb73f;
}

.error-message {
    background-color: rgba(105, 17, 1, 0.1);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.password-field-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 10px 0;
}

.password-field-container .input-field {
    width: 100%;
    margin: 0;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--primary-color);
    font-size: 18px;
    width: 18px; /* Fixed width */
    height: 18px; /* Fixed height */
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.password-toggle:focus {
    outline: none;
}

.input-field::placeholder {
    color: #999;
    opacity: 1;
}

/* Add placeholder styling */
.input-field::placeholder {
    color: #999;
    opacity: 1;
} 