﻿body {
    font-family: 'Rubik', sans-serif;
    background-color: #f8fbfc;
    color: rgb(78, 83, 84);
    margin: 0;
    padding: 0;
}

a {
    color: rgb(32, 90, 115);
    text-decoration: none;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.view-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
}

/* Top bar layout */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Language dropdown */
.lang-dropdown {
    margin-left: auto;
}

.lang-dropdown select {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #fff;
    color: rgb(32, 90, 115);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .lang-dropdown select:focus {
        outline: none;
        border-color: rgb(32, 90, 115);
        box-shadow: 0 0 0 2px rgba(14, 116, 144, 0.2);
    }

.back-link {
    font-size: 0.9rem;
    color: rgb(79, 84, 85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

    .logo img {
        height: 38px;
    }

h1 {
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.input-icon {
    position: relative;
    width: 100%;
}

    .input-icon svg,
    .input-icon img.input-svg {
        position: absolute;
        left: 14px;
        top: 50%;
        width: 20px;
        height: 20px;
        stroke: #64748b;
        pointer-events: none;
        flex-shrink: 0;
    }

    .input-icon .form-input {
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 0.9rem;
        padding-left: 44px; /* ensures room for the icon */
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        font-size: 0.95rem;
        background-color: #fff;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .input-icon .form-input:focus {
            outline: none;
            border-color: rgb(32, 90, 115);
            box-shadow: 0 0 0 2px rgba(14, 116, 144, 0.2);
        }

    .input-icon:focus-within svg {
        stroke: rgb(32, 90, 115);
    }

.form-input {
    padding: 0.75rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
}

    .form-input:focus {
        outline: none;
        border-color: rgb(32, 90, 115);
        box-shadow: 0 0 0 2px rgba(14, 116, 144, 0.2);
    }

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    background-color: rgb(32, 90, 115);
    color: white;
    border: 1px solid rgb(32, 90, 115);
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-primary:hover {
        background-color: #fff;
        color: rgb(32, 90, 115);
    }

.btn-outline {
    background: none;
    border: 1.5px solid rgb(32, 90, 115);
    border-radius: 8px;
    color: rgb(32, 90, 115);
    font-weight: 600;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-outline:hover {
        background-color: rgb(32, 90, 115);
        color: #fff;
    }

.forgot {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.divider {
    border-top: 1px solid #e2e8f0;
    margin: 1.5rem 0;
}

.footer {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

    .footer a {
        font-weight: 500;
    }
