/* Base */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

body {
    font-family: "DM Sans", sans-serif;
    color: #2F1C6A;
    background-color: #F4F5FF;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content {
    width: 376px;
    padding: 48px 40px;
    background-color: white;
    border: 1px solid #D8DAE0;
    border-radius: 16px;
}

.button {
    background-color: unset;
    border: unset;
    cursor: pointer;
}

/* Utilities */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-25 {
    margin-bottom: 25px;
}

.mt-4 {
    margin-top: 4px;
}

.mt-12 {
    margin-top: 12px;
}

.w-100 {
    width: 100%;
}


.wh-22 {
    width: 22px;
    height: 22px;
}

.p-12-24 {
    padding: 12px 24px;
}

.p-16-24 {
    padding: 16px 24px;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.gap-8 {
    gap: 8px;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}


.b-radius-4 {
    border-radius: 4px;
}

.b-radius-8 {
    border-radius: 8px;
}

.border-box {
    box-sizing: border-box;
}

.color-red {
    color: red;
}

.color-black {
    color: #000;
}

.color-black-50 {
    color: rgba(0, 0, 0, .65);
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.hidden {
    display: none !important;
}

.non-resizable {
    resize: none;
}

.height-unset {
    height: unset !important;
}

/* Brand colours */
.background-color-hostinger {
    background-color: #673DE6;
}

button.background-color-hostinger:hover {
    background-color: #5025D1;
}

.accent-color-hostinger {
    accent-color: #673DE6;
}

.color-hostinger {
    color: #673DE6;
}

/* Components */
.logo img {
    max-height: 30px;
    padding: 20px 40px;
    margin-bottom: 24px;
}

.title {
    align-self: stretch;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-top: unset;
}

.input {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased !important;
    direction: ltr;
    display: block;
    width: 100% !important;
    padding: .85em 1.15em !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    background-color: #fff !important;
    background-clip: padding-box !important;
    transition: all .15s ease-in-out !important;
    font-size: 14px;
    vertical-align: middle;
    height: 48px !important;
    border: 1px solid #DADCE0 !important;
    box-sizing: border-box;
    border-radius: 8px !important;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    box-shadow: none;
}

.input.height-unset {
    height: unset !important;
}

.label {
    width: 100%;
    color: #6D7081;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.primary-action {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased !important;
    direction: ltr;
    vertical-align: middle;
    box-sizing: border-box;
    word-break: keep-all;
    white-space: nowrap;
    border-radius: 8px !important;
    border: 1px solid transparent;
    filter: none;
    width: 100% !important;
    padding: .7rem .9rem;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
    -webkit-appearance: button;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 53px;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.secondary-action {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-info {
    background-color: #EBE4FFFF;
    color: #2F1C6AFF;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 16px;
        align-items: stretch;
    }

    .logo img {
        padding: 16px;
        margin-bottom: unset;
    }

    .title {
        font-size: 24px;
    }

    .content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .content {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Account recovery */
.account-recovery-reason-picker {
    border: 1px solid #D5DFFF;
    background: #FAFBFF;
}

.ar-content {
    width: 900px;
    max-width: calc(100vw - 48px);
}

.ar-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #D8DAE0;
}

.ar-tab-btn {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.ar-tab-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.ar-tab-btn.ar-active {
    background: white;
    border-color: #D8DAE0;
    font-weight: 600;
    color: #2F1C6A;
    margin-bottom: -2px;
}

.ar-tab-panel {
    display: none;
    padding: 16px;
    border: 1px solid #D8DAE0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.ar-tab-panel.ar-active {
    display: block;
}

.ar-examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

.ar-example-box {
    border-radius: 6px;
    padding: 10px 12px;
}

.ar-example-box.ar-bad {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.ar-example-box.ar-good {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.ar-example-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ar-example-label.ar-bad {
    color: #b91c1c;
}

.ar-example-label.ar-good {
    color: #166534;
}

.ar-example-list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #444;
}

.ar-example-list li {
    margin-bottom: 4px;
}

.ar-tab-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.ar-dropzone {
    border: 2px dashed #c8ccd4;
    border-radius: 6px;
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
    background: #fafbfc;
    transition: background 0.15s, border-color 0.15s;
    outline: none;
}

.ar-dropzone:hover, .ar-dropzone:focus-visible {
    background: #f2f4f7;
    border-color: #94a3b8;
}

.ar-dropzone--hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
}

.ar-dropzone-inner svg {
    display: block;
    margin: 0 auto 8px;
}

.ar-dropzone-inner strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.ar-dropzone-inner small {
    color: #595959;
    font-size: 14px;
}

.ar-files-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-size: 14px;
}

.ar-files-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #c8ccd4;
}

.ar-files-list span {
    overflow-wrap: anywhere;
}

.ar-files-list button {
    flex: none;
}

.ar-tab-btn.ar-required-flash {
    color: #dc2626;
    border-color: #fca5a5;
}

.ar-dropzone.ar-required-flash {
    border-color: #dc2626;
    background: #fef2f2;
    animation: ar-required-shake 0.4s ease;
}

@keyframes ar-required-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

@media (max-width: 700px) {
    .ar-content {
        width: 100%;
    }

    .ar-examples-grid {
        grid-template-columns: 1fr;
    }

    .ar-tab-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ar-dropzone.ar-required-flash {
        animation: none;
    }
}
