body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #f5f7f9;
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* CARD */
.card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 360px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* LOGO */
img.logo {
    width: 120px;
    margin-bottom: 20px;
}

/* INPUTS */
.auth-input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* BUTTON */
.auth-btn {
    width: 100%;
    padding: 12px;
    background: #0078d4;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #005fa3;
}

/* ERROR */
.error {
    color: #c00;
    margin-top: 10px;
    font-size: 14px;
}

/* LINKS */
.auth-link {
    margin-top: 15px;
    font-size: 14px;
}

/* COMPANY MATCHES */
#results {
    text-align: left;
}


/* =========================
   DROPDOWN
========================= */
.dropdown {
    position: relative;
}

/* results container */
.dropdown-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* ✅ THIS FIXES WIDTH */

    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;

    max-height: 180px;
    overflow-y: auto;

    display: none;
    z-index: 1000;
}

/* dropdown items */
.dropdown-results div {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
}

/* hover state */
.dropdown-results div:hover {
    background: #f0f4f8;
}