:root {
    --amazon-yellow: #FFD814;
    --amazon-yellow-hover: #F7CA00;
    --amazon-blue: #0066c0;
    --border-color: #ddd;
    --text-color: #111;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Amazon Ember", Arial, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 350px;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.logo-container {
    margin-bottom: 18px;
    margin-top: 14px;
    flex-shrink: 0;
}

.logo {
    width: 103px;
    height: 31px;
}

.auth-card {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 26px;
    box-sizing: border-box;
    margin-bottom: 22px;
}

.container.billing-active .footer {
    margin-top: auto;
}

.success-message {
    text-align: center;
    padding: 20px 0;
}

.success-message h1 {
    font-size: 20px;
    margin-top: 20px;
}

.success-message p {
    font-size: 14px;
    color: #555;
}

.check-container {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb543;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb543;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb543;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #fff;
    }
}

h1 {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    padding-left: 2px;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    height: 31px;
    padding: 3px 7px;
    line-height: normal;
    background-color: #fff;
    border: 1px solid #a6a6a6;
    border-top-color: #949494;
    border-radius: 3px;
    outline: 0;
    box-sizing: border-box;
    margin-bottom: 14px;
}

input:focus {
    border-color: #007185;
    box-shadow: 0 0 3px 2px rgba(0, 113, 133, 0.15);
}

.btn-primary {
    width: 100%;
    background: var(--amazon-yellow);
    border: 1px solid #FCD200;
    border-radius: 20px;
    padding: 0;
    height: 31px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(213,217,217,.5);
    margin-top: 4px;
}

.btn-primary:hover {
    background: var(--amazon-yellow-hover);
}

.legal-text {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 18px;
}

.legal-text a, .help-link, .business-section a, .forgot-password, .user-info a {
    color: var(--amazon-blue);
    text-decoration: none;
}

.legal-text a:hover, .help-link:hover, .business-section a:hover, .forgot-password:hover, .user-info a:hover {
    color: #c45500;
    text-decoration: underline;
}

.help-section {
    margin-top: 22px;
    font-size: 13px;
}

.divider {
    border: 0;
    border-top: 1px solid #e7e7e7;
    margin-top: 22px;
    margin-bottom: 22px;
}

.business-section {
    font-size: 13px;
}

.business-section p {
    margin: 0 0 4px 0;
}

.user-info {
    font-size: 13px;
    margin-bottom: 14px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2px;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 2px;
}

.input-group {
    flex: 1;
}

.forgot-password {
    font-size: 12px;
}

/* Footer */
.footer {
    width: 100vw;
    margin-top: 0px;
    text-align: center;
    padding-top: 30px;
    background: linear-gradient(to bottom,rgba(0,0,0,.04),rgba(0,0,0,.01) 3px,transparent);
    position: relative;
}

.footer::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,.1), transparent);
    position: absolute;
    top: 0;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--amazon-blue);
    text-decoration: none;
    font-size: 11px;
    margin: 0 8px;
}

.copyright {
    font-size: 11px;
    color: #555;
    margin: 0;
    padding-bottom: 30px;
}