/* Hand-translated from resource-src/invite-request/invite-request.sass.
   The original Grunt+railz pipeline is gone; this is the same intent in plain CSS. */

* { box-sizing: border-box; }

html, body { width: 100%; margin: 0; padding: 0; }
html { height: 100%; }

body {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    font: 14px "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #fff;
    min-height: 100vh;
}

/* Soft dark scrim so white type stays legible over any photo. */
body.invite-request::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
    z-index: 0;
}

body.invite-request > * { position: relative; z-index: 1; }

h1 {
    font-family: "Pacifico", cursive;
    font-size: 60px;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    text-align: center;
    width: 480px;
    max-width: 92%;
    margin: 80px auto 0;
    line-height: 1.1;
}

h2 {
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    width: 480px;
    max-width: 92%;
    margin: 16px auto 0;
    line-height: 1.3;
}

h3 {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    width: 480px;
    max-width: 92%;
    margin: 0 auto 10px;
    line-height: 1.4;
}

.invite {
    width: 480px;
    max-width: 92%;
    margin: 60px auto 0;
}

.invite .invite-thanks { display: none; }

.invite .invite-thanks h4 {
    font-family: "Pacifico", cursive;
    font-size: 36px;
    font-weight: normal;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    text-align: center;
    margin: 0 0 10px;
}

.invite .invite-thanks p {
    text-align: center;
    font-size: 16px;
    margin: 0;
}

input {
    width: 100%;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 3px;
    line-height: normal;
    font-family: inherit;
}

input:focus { outline: 2px solid rgba(10, 206, 127, 0.7); outline-offset: 1px; }

button {
    cursor: pointer;
    background-color: #0ace7f;
    color: #fff;
    padding: 16px;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    transition: background-color 0.2s ease-out;
    line-height: normal;
    text-align: center;
    margin-top: 10px;
    width: 100%;
    font: bold 14px "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button:hover { background-color: #34da97; }

@media (max-width: 979px) {
    h1 { font-size: 44px; margin-top: 24px; }
    h2 { font-size: 22px; }
    .invite { margin-top: 24px; }
}
