/* Arc Journal - Shared Styles */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400,800&family=Newsreader:wght@400&display=swap');

/* Base styles */
body {
    font-family: 'DM Sans', sans-serif;
    padding: 20px;
    line-height: 1.6;
    color: #333;
    background-color: #F0EFED;
}

h1, h2 {
    font-family: 'Newsreader', serif;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

p {
    color: #666;
}

a {
    color: #007AFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* App link button */
.app-link {
    display: inline-block;
    padding: 12px 24px;
    background: #007AFF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
}

.app-link:hover {
    background: #0051D5;
    text-decoration: none;
}

/* Status indicators */
.loading {
    color: #666;
    font-size: 18px;
}

.success {
    color: #28a745;
    font-size: 48px;
    margin-bottom: 20px;
}

.error {
    color: #dc3545;
    font-size: 48px;
    margin-bottom: 20px;
}

/* Spinner animation */
.spinner {
    font-size: 48px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Help text */
.help-text {
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

/* Contact box */
.contact {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Links container */
.links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Secondary button style */
a.secondary {
    background: #f5f5f5;
    color: #333;
}

a.secondary:hover {
    background: #e0e0e0;
}

/* Page-specific layout modifiers */
.page-centered {
    max-width: 500px;
    margin: 100px auto;
    text-align: center;
}

.page-content {
    max-width: 600px;
    margin: 50px auto;
}

.page-home {
    max-width: 600px;
    margin: 100px auto;
    text-align: center;
}
