.ns-content {
    height: 100vh;
    display: flex !important;
    align-items: center;
    background: #f1f3f4;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
}

.narative-google-ads-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: black;
    text-align: center;

    h2 {
        text-align: center;
        color: #333;
    }

    form {
        display: flex;
        flex-direction: column;
    }

    label {
        margin-bottom: 10px;
        font-weight: bold;
    }

    select,
    input[type="submit"] {
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    input[type="submit"],
    a.button {
        background: #4CAF50;
        color: #fff;
        text-decoration: none;
        text-align: center;
        cursor: pointer;

        &:hover {
            background: #005177;
        }
    }


    p {
        font-size: 12px;
    }

    .narative-notice {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 4px;
        text-align: center;

        &.narative-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        &.narative-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
    }

    @media (max-width: 600px) {
        .narative-google-ads-container {
            padding: 10px;
        }
    }

    .narative-frontend-container {
        max-width: 600px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .narative-auth-card {
        background: #fff;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e0e0;

        h2 {
            color: #1a73e8;
            margin: 0 0 1rem 0;
            font-size: 1.8rem;
        }

        p {
            color: #5f6368;
            margin: 0 0 2rem 0;
            line-height: 1.5;
        }
    }

    .narative-auth-button {
        display: inline-block;
        padding: 12px 24px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        transition: background 0.2s ease;
        border: none;

        &:hover {
            background: #1967d2;
        }
    }

    .narative-campaign-form {
        margin-top: 1.5rem;

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #202124;
        }

        select {
            width: 100%;
            padding: 10px;
            border: 1px solid #dadce0;
            border-radius: 6px;
            font-size: 14px;
            margin-bottom: 0.5rem;
        }
    }

    .narative-help-text {
        font-size: 0.875rem;
        color: #5f6368;
        margin: 0 0 1rem 0;
    }

    .narative-submit-button {
        background: #34a853;
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 6px;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.2s ease;
        width: 100%;

        &:hover {
            background: #2d9349;
        }
    }

    .narative-notice {
        padding: 1rem;
        border-radius: 6px;
        margin-bottom: 1.5rem;
        border-left: 4px solid;

        &.success {
            background: #e6f4ea;
            border-color: #34a853;
            color: #137333;
        }

        &.error {
            background: #fce8e6;
            border-color: #ea4335;
            color: #c5221f;
        }
    }

    @media (max-width: 480px) {
        .narative-auth-card {
            padding: 1.5rem;

            h2 {
                font-size: 1.5rem;
            }
        }
    }
}

main#main-content {
    background: transparent;
}

div#authenticate-content {
    text-align: center;
}

a.button.narative-auth-button {
    margin: 8px 0;
}