
#connect-logo-div {
    display: block;
    max-width: 100%;
    height: auto;
}

#connect-logo-div img{
    max-width: 100%;
}
/*------------------------------------------------------------
    Door Tablet CONNECT
------------------------------------------------------------*/

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;

    font-family:
        "Inter",
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;

    background: #f5f7fa;
    color: #333;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*------------------------------------------------------------
    Main container
------------------------------------------------------------*/

#connect-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

#connect-note {
    width: 100%;
    max-width: 520px;

    background: #ffffff;

    padding: 40px;

    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.08);

    box-sizing: border-box;

    text-align: center;
}

/*------------------------------------------------------------
    Typography
------------------------------------------------------------*/

h1 {
    margin: 0 0 12px;

    font-size: 2rem;
    font-weight: 600;
    color: #1d3557;
}

p {
    margin: 0 0 20px;

    font-size: 1rem;
    line-height: 1.6;

    color: #555;
}

label {
    display: block;

    margin-bottom: 8px;

    font-size: .95rem;
    font-weight: 600;

    text-align: left;
}

/*------------------------------------------------------------
    Form
------------------------------------------------------------*/

#instance-form {
    display: flex;
    flex-direction: column;
    gap: 16px;

    margin-top: 20px;
}

#instance-code {
    width: 100%;

    padding: 14px 16px;

    box-sizing: border-box;

    border: 1px solid #cfd8dc;
    border-radius: 8px;

    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 500;

    text-align: center;

    transition: .2s;
}

#instance-code:focus {
    outline: none;

    border-color: #0078d4;

    box-shadow: 0 0 0 4px rgba(0,120,212,.15);
}

/*------------------------------------------------------------
    Buttons
------------------------------------------------------------*/

button {
    padding: 13px 22px;

    border: none;
    border-radius: 8px;

    background: #0078d4;
    color: white;

    font-family: inherit;
    font-size: .95rem;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

button:hover:not(:disabled) {
    background: #0063b1;
}

button:disabled {
    opacity: .5;
    cursor: default;
}

/*------------------------------------------------------------
    Button row
------------------------------------------------------------*/

.connect-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;
}

/*------------------------------------------------------------
    Status
------------------------------------------------------------*/

#status-message {
    min-height: 24px;

    margin-top: 18px;

    font-size: .95rem;
    color: #666;
}

/*------------------------------------------------------------
    Countdown
------------------------------------------------------------*/

#saved-instance-code {
    color: #0078d4;
    font-weight: 700;
}

#countdown {
    color: #0078d4;
    font-weight: 700;
}

/*------------------------------------------------------------
    Links
------------------------------------------------------------*/

a {
    color: #0078d4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*------------------------------------------------------------
    Mobile
------------------------------------------------------------*/

@media (max-width: 600px) {

    #connect-note {
        padding: 30px 24px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .connect-actions {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}