@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Public Sans', sans-serif;
}

body {
    background-color: #ffffff;
    color: #3a3a3a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Updated for the image logo */
.logo {
    width: 70px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: #21283e;
    margin-bottom: 10px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: #21283e;
    margin-bottom: 20px;
}

p {
    font-size: 14px;
    color: #606882;
    line-height: 1.5;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 24px 16px 8px;
    border: 1px solid #b7bfd3;
    border-radius: 8px;
    font-size: 16px;
    background: transparent;
    outline: none;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: #022a9a;
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    font-size: 14px;
    color: #606882;
    transition: 0.2s ease all;
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: 6px;
    font-size: 12px;
}

.btn {
    width: 100%;
    padding: 16px;
    background-color: #022a9a;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn:hover {
    background-color: #001645;
}

.btn:disabled {
    background-color: #b7bfd3;
    cursor: not-allowed;
}

.suggestions {
    display: flex;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.suggestions button {
    background: #eff1f5;
    border: none;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: #313643;
    cursor: pointer;
}

.link {
    color: #022a9a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background: #dee2ec;
    border-radius: 14px;
    cursor: pointer;
}

.toggle::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.toggle.active {
    background: #022a9a;
}

.toggle.active::after {
    left: 24px;
}

.loader {
    border: 4px solid #eff1f5;
    border-top: 4px solid #022a9a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

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