/* LoveFlow Web App Styles */

:root {
    --primary: #eb8328;
    --secondary: #cb813f;
    --dark: #402617;
    --light: #F5EEE6;
    --border: #d4a57a;
    --text: #402617;
    --text-light: #7d5a40;
    --error: #E74C3C;
    --success: #27AE60;
    --shadow: 0 2px 10px rgba(64, 38, 23, 0.15);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #542606;
    color: var(--text);
}

body {
    position: fixed;
    overflow: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* App Container */
.app-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Screens */
.screen {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    display: flex;
}

/* Auth Container */
.auth-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    justify-content: space-between;
}

.auth-header {
    text-align: center;
    padding: 40px 0;
}

.app-logo {
    font-size: 60px;
    margin-bottom: 20px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 5px;
    color: var(--primary);
}

.auth-header p {
    color: var(--text-light);
}

.back-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 20px;
    padding: 10px;
}

.auth-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-body p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.auth-footer {
    text-align: center;
    padding: 20px 0;
}

.auth-footer a {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 12px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.btn-secondary {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:active {
    background: var(--secondary);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    margin-bottom: 0;
    width: auto;
}

.btn-send {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
}

/* Tab Navigation */
.tab-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 100;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-icon {
    font-size: 20px;
}

/* App Content */
.app-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 60px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Screen Header */
.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.screen-header h2 {
    font-size: 20px;
    color: #1a1a1a;
}

.filter-icon {
    font-size: 20px;
    cursor: pointer;
}

/* Discover Container */
.discover-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 10px;
    box-shadow: var(--shadow);
}

.profile-card-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
}

.profile-card-info {
    padding: 16px;
}

.profile-card-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-card-meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.profile-card-bio {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 16px;
}

.profile-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.tag-section {
    margin-bottom: 12px;
}

.tag-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 6px;
}

.tag-section .profile-card-tags {
    margin-bottom: 0;
}

.profile-card-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.action-btn.pass:active {
    background: var(--light);
}

.action-btn.like {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.action-btn.like:active {
    opacity: 0.9;
}

.action-btn.report {
    flex: 0 0 auto;
    width: auto;
    padding: 12px 14px;
    color: var(--text-light);
}

.action-btn.report:active {
    background: #fff3cd;
    color: #856404;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Likes Container */
.likes-container,
.messages-container {
    display: flex;
    flex-direction: column;
}

.like-item,
.message-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.like-item:active,
.message-item:active {
    background: var(--light);
}

.report-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #cb813f;
    font-size: 14px;
    padding: 6px 8px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s ease;
}
.report-icon-btn:active {
    background: rgba(203, 129, 63, 0.15);
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-name {
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.item-subtext {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.message-time {
    font-size: 12px;
    color: var(--text-light);
}

/* Profile Container */
.profile-container {
    padding: 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
}

.profile-info {
    text-align: center;
    margin-bottom: 30px;
}

.profile-info h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    z-index: 1000;
}

.modal-content {
    width: 100%;
    background: white;
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.modal-header h3 {
    color: #1a1a1a;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #1a1a1a;
}

/* Edit modal body */
.edit-modal-body {
    padding: 0 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit-modal-body .form-group {
    padding: 0;
    margin-top: 12px;
}

.edit-modal-body .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.edit-modal-body .form-group input,
.edit-modal-body .form-group select,
.edit-modal-body .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: #faf7f5;
    color: #1a1a1a;
    box-sizing: border-box;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.edit-modal-body .form-group input:focus,
.edit-modal-body .form-group select:focus,
.edit-modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    color: #1a1a1a;
}

.edit-modal-body .form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.edit-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 0 8px;
}

.edit-photo-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    cursor: pointer;
    border: 2.5px dashed var(--primary);
    transition: opacity 0.2s;
}

.edit-photo-preview:active {
    opacity: 0.75;
}

.edit-photo-label {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.edit-save-btn {
    margin-top: 20px;
    width: 100%;
}

.chip-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background: var(--light);
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.chip:active {
    opacity: 0.85;
}

/* Chat */
.chat-messages {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    height: 0;  /* forces flex child to scroll instead of expanding */
    min-height: 200px;
}

.message {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.message.sent {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    word-wrap: break-word;
}

.message.received .message-bubble {
    background: var(--light);
    color: var(--text);
}

.message.sent .message-bubble {
    background: var(--primary);
    color: white;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px 20px 20px;
    border-top: 1px solid var(--border);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
}

/* Empty States */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-container {
        padding: 16px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .profile-card {
        margin: 8px;
    }

    .modal-content {
        max-height: 80vh;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark: #F5F5F5;
        --light: #1F1F1F;
        --border: #2F2F2F;
        --text: #F5F5F5;
        --text-light: #AAAAAA;
    }

    body {
        background: var(--light);
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .tab-bar,
    .modal-content,
    .profile-card,
    .auth-container {
        background: var(--light);
        color: var(--text);
    }

    /* Keep edit modal fields always light with black text */
    .edit-modal-body .form-group input,
    .edit-modal-body .form-group select,
    .edit-modal-body .form-group textarea {
        background: #faf7f5;
        color: #1a1a1a;
    }

    .edit-modal-body .form-group input:focus,
    .edit-modal-body .form-group select:focus,
    .edit-modal-body .form-group textarea:focus {
        background: white;
        color: #1a1a1a;
    }

    .tab-bar {
        border-top-color: var(--border);
    }
}

/* Safe Area */
@supports (padding: max(0px)) {
    .tab-bar {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
        height: calc(60px + max(0px, env(safe-area-inset-bottom)));
    }

    .app-content {
        padding-bottom: calc(60px + max(0px, env(safe-area-inset-bottom)));
    }

    .modal-content {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* ================================================================
   Welcome Page — structure & colours mirror index.html
   ================================================================ */

.welcome-page {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    background: white;
}

.welcome-header {
    background: #402617;
    color: white;
    padding: 40px 20px 30px;
    text-align: center;
    position: relative;
}

.welcome-header .language-selector {
    position: absolute;
    top: 16px;
    right: 16px;
    text-align: right;
}

.welcome-header .language-selector label {
    display: block;
    font-size: 0.8em;
    margin-bottom: 4px;
    color: white;
    opacity: 0.9;
}

.welcome-header .language-selector select {
    padding: 6px 10px;
    border: 2px solid #cb813f;
    border-radius: 6px;
    background: white;
    color: #402617;
    font-size: 0.85em;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.welcome-header .language-selector select:focus {
    outline: none;
    border-color: #eb8328;
}

.welcome-header h1 {
    font-size: 2.4em;
    color: white;
    margin-bottom: 8px;
}

.welcome-header .tagline {
    font-size: 1.1em;
    opacity: 0.95;
    color: white;
    margin: 0;
}

.welcome-main {
    padding: 30px 20px;
    flex: 1;
}

.welcome-main section {
    margin-bottom: 30px;
}

.welcome-main .hero {
    text-align: center;
    padding: 10px 0;
}

.welcome-main .hero h2 {
    color: #eb8328;
    font-size: 1.6em;
    margin-bottom: 12px;
}

.welcome-main .hero p {
    color: #402617;
    font-size: 1em;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

.welcome-main .features,
.welcome-main .download,
.welcome-main .legal-links {
    background: #cb813f;
    padding: 24px;
    border-radius: 8px;
}

.welcome-main .features h3,
.welcome-main .download h3,
.welcome-main .legal-links h3 {
    color: #402617;
    font-size: 1.2em;
    margin-bottom: 12px;
}

.countries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.countries li {
    background: #542606;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    color: #fff;
    font-size: 0.9em;
}

.welcome-main .download {
    text-align: center;
}

.welcome-main .store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 10px;
}

.welcome-main .store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-family: inherit;
    transition: opacity 0.2s ease, transform 0.15s ease;
    min-width: 160px;
}

.welcome-main .store-btn:active {
    opacity: 0.85;
    transform: scale(0.97);
}

.welcome-main .store-btn-play {
    background: #1a1a1a;
    color: #ffffff;
}

.welcome-main .store-btn-web {
    background: #402617;
    color: #ffffff;
}

.welcome-main .store-icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
    flex-shrink: 0;
}

.welcome-main .store-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.2;
}

.welcome-main .store-btn small {
    font-size: 0.7em;
    opacity: 0.85;
    line-height: 1;
    margin-bottom: 2px;
}

.welcome-main .app-store-note {
    font-size: 0.82em;
    opacity: 0.72;
    color: #402617;
    margin: 0;
}

.welcome-main .legal-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.welcome-main .legal-links li {
    margin-bottom: 12px;
}

.welcome-main .legal-links li:last-child {
    margin-bottom: 0;
}

.welcome-main .legal-links a {
    color: #402617;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.welcome-main .legal-links a:hover {
    color: #eb8328;
    text-decoration: underline;
}

.welcome-actions {
    padding: 20px;
    background: white;
    border-top: 1px solid #d4a57a;
}

.welcome-footer {
    background: #402617;
    color: white;
    padding: 20px;
    text-align: center;
}

.welcome-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 6px;
    font-size: 0.85em;
}

.welcome-footer p:last-child {
    margin-bottom: 0;
}

.welcome-footer a {
    color: #eb8328;
}

/* ================================================================
   Responsive — Tablet & Desktop (≥ 768px)
   ================================================================ */

@media (min-width: 768px) {

    /* Allow normal page scrolling on desktop */
    html, body {
        height: auto;
        min-height: 100vh;
    }

    body {
        position: static;
        overflow: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding: 28px 24px;
    }

    /* Auth container — full-width rounded card, max 900px */
    #authContainer {
        width: 100%;
        max-width: 900px;
        height: auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    }

    /* Screens — auto-height on desktop */
    .screen {
        height: auto;
        overflow: visible;
    }

    .screen.active {
        display: block;
    }

    /* Login & Register — centered floating card on warm background */
    #loginScreen.screen.active,
    #registerScreen.screen.active {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 48px 24px;
        background: #F5EEE6;
        min-height: 540px;
    }

    #loginScreen .auth-container,
    #registerScreen .auth-container {
        width: 100%;
        max-width: 440px;
        height: auto;
        background: white;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(64, 38, 23, 0.15);
        padding: 48px 40px;
        justify-content: flex-start;
    }

    /* Main app — phone frame centered on desktop */
    #appContainer {
        max-width: 480px;
        width: 100%;
        height: calc(100vh - 56px);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
        position: relative;
    }

    /* Tab bar contained within app frame, not fixed to viewport */
    .tab-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    /* ── Welcome page — spacious desktop layout ── */

    .welcome-header {
        padding: 56px 48px 44px;
    }

    .welcome-header .language-selector {
        top: 24px;
        right: 32px;
    }

    .welcome-header .language-selector select {
        padding: 8px 14px;
        font-size: 0.9em;
    }

    .welcome-header .app-logo {
        font-size: 72px;
        margin-bottom: 14px;
    }

    .welcome-header h1 {
        font-size: 3em;
    }

    .welcome-header .tagline {
        font-size: 1.25em;
    }

    .welcome-main {
        padding: 40px 48px;
    }

    .welcome-main .hero h2 {
        font-size: 2em;
    }

    .welcome-main .hero p {
        font-size: 1.1em;
    }

    .countries {
        grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    }

    .welcome-main .store-buttons {
        flex-wrap: nowrap;
        gap: 16px;
    }

    .welcome-main .store-btn {
        min-width: 190px;
        padding: 13px 22px;
    }

    /* Sign In / Create Account — side by side on desktop */
    .welcome-actions {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 28px 48px;
    }

    .welcome-actions .btn {
        width: auto;
        flex: 0 0 200px;
        margin-bottom: 0;
    }

    /* Footer — horizontal split layout */
    .welcome-footer {
        padding: 24px 48px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .welcome-footer p {
        margin: 0;
    }
}

/* Wide Desktop (≥ 1100px) */
@media (min-width: 1100px) {

    #authContainer {
        max-width: 960px;
    }

    .welcome-header {
        padding: 64px 64px 52px;
    }

    .welcome-main {
        padding: 48px 64px;
    }

    .welcome-actions {
        padding: 32px 64px;
    }

    .welcome-footer {
        padding: 28px 64px;
    }

    .countries {
        grid-template-columns: repeat(5, 1fr);
    }
}
