/* Awssome brand tokens ported from Awssome.OrderManagement.Web custom.css (AWS-826 D1). */
:root {
    --Figtree: 'Figtree', sans-serif;

    --white: #ffffff;
    --primary-color: #FF7915;
    --secondary-color: #FF9537;

    --neutral-50: #888888;
    --neutral-100: #454545;
    --neutral-200: #333333;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--Figtree);
    font-weight: 400;
    color: var(--neutral-100);
    font-size: 16px;
    background: #faf8f6;
}

.connect-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.connect-card {
    background: var(--white);
    max-width: 560px;
    width: 100%;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(51, 51, 51, 0.08);
    text-align: center;
}

.connect-logo {
    height: 36px;
    margin-bottom: 24px;
}

.connect-card h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-200);
    margin: 0 0 12px;
}

.connect-lead {
    color: var(--neutral-100);
    line-height: 1.55;
    margin: 0 0 28px;
}

.connect-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Secondary action (e.g. "Not you? Sign out") sits apart from the workspace list
   so it never reads as one more workspace button. */
.connect-actions-secondary {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eeeae6;
}

.aws-btn {
    display: block;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.aws-btn:hover {
    opacity: 0.9;
}

button.aws-btn {
    font-family: var(--Figtree);
}

.aws-btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.aws-btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.connect-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Typeform inline embed (signup lead capture). Reserves height so the card doesn't jump
   while embed.js boots, and left-aligns it inside the centered card. */
.connect-typeform {
    min-height: 620px;
    text-align: left;
}

/* embed.js injects its own wrapper with an inline height:500px and ignores data-tf-height,
   so the taller viewport must be forced here — at 500px the form's sticky Submit button
   overlaps the fields. Fixed px (never %), per Typeform's own embed guidance. */
.connect-typeform > div {
    height: 620px !important;
}

.connect-input {
    font-family: var(--Figtree);
    font-size: 16px;
    color: var(--neutral-100);
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.connect-input:focus {
    border-color: var(--primary-color);
}

.aws-btn.connect-workspace-btn,
.aws-btn[type="submit"] {
    width: 100%;
    border-width: 2px;
    cursor: pointer;
}

.connect-validation {
    display: block;
    font-size: 13px;
    color: #d9534f;
    text-align: left;
}

.connect-validation:empty {
    display: none;
}

.connect-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--neutral-50);
}

.connect-note a {
    color: var(--primary-color);
}

.connect-ref {
    margin-top: 24px;
    font-size: 12px;
    color: var(--neutral-50);
}

.connect-footer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--neutral-50);
}

.connect-footer a {
    color: var(--neutral-50);
}
