*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-primary: #005742;
    --color-primary-hover: #0a8f6f;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.text-primary {
    color: var(--color-primary);
}

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

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.content {
    flex: 1;
}

footer {
    bottom: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem;
}

input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 66, 0.1);
}

button, .button {
    transition: all 0.2s ease-in-out;
}

.rounded-xl {
    border-radius: 12px;
}
.sticky-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 0;
    width: auto;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .sticky-banner {
        bottom: 10px;
        right: 10px;
    }
}

.sticky-banner.fade-out {
    opacity: 0;
}

.chrome-store-banner-image {
    display: block;
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .chrome-store-banner-image {
        width: 160px;
    }
}

.close-button {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    transition: background-color 0.2s ease;
    z-index: 1001;
}

.close-button:hover {
    background: #555;
}

.close-button span {
    display: block;
    margin-top: -1px;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-banner {
    animation: slideIn 0.3s ease-out;
}


.page-container {
    background-color: #f3f4f6;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    font-family: 'Inter', sans-serif;
}

.page-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.card {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.form-section {
    width: 100%;
}

@media (min-width: 768px) {
    .form-section {
        width: 24rem;
    }
}

.page-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
        justify-content: space-between;
    }
}

.site-form {
    width: 100%;
}

.form-label {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.site-form input,
.site-form button {
    margin-bottom: 0;
}

.site-form input {
    margin-bottom: 1rem;
}

.loader-icon {
    width: 1rem;
    height: 1rem;
}

.download-btn {
    margin-top: 1rem;
    display: inline-block;
}

.form-input {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    width: 100%;
    line-height: 1.25;
    color: var(--color-primary);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 66, 0.1);
}

.btn {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    width: 100%;
    text-decoration: none;
}

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

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

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

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

.error-message {
    color: #dc2626;
    margin-top: 1rem;
}

.instructions {
    margin-top: 1rem;
}

.instructions-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.instructions-list {
    list-style-type: disc;
    list-style-position: inside;
    color: var(--color-primary);
}

.screenshot {
    border-radius: 12px;
    width: 100%;
    max-width: 430px;
    height: 320px;
    border: 1px solid #e5e7eb;
}

.url-table {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-top: 1rem;
}

.table-header,
.table-row {
    display: flex;
}

.table-cell {
    padding: 0.25rem 0.125rem;
    font-size: 0.875rem;
    color: var(--color-primary);
}

.table-cell-number {
    flex-basis: 8.333%;
}

.table-cell-url {
    flex-basis: 75%;
}

.table-cell-priority {
    flex-basis: 16.667%;
    text-align: right;
}

.banner-section {
    margin-top: 1rem;
    text-align: center;
}

.vistachat-banner-image {
    max-width: 60%;
    height: auto;
    border-radius: 6px;
    margin: 0 auto;
}

.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-link:hover {
    color: #e5e7eb;
}

.footer-text {
    font-size: 0.875rem;
}

.sitemap-list {
    list-style-type: disc;
    list-style-position: inside;
    color: #374151;
}

.sitemap-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.sitemap-link:hover {
    text-decoration: underline;
}