/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Main content */
.main-content {
    flex: 1;
    padding: 2rem;
}

.policy-container {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Termly embed styling */
div[name="termly-embed"] {
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 0;
        box-shadow: none;
    }
    

    
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .footer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0.75rem;
    }
    
    .policy-container {
        padding: 0.75rem;
        border-radius: 6px;
    }
}

/* Loading state for Termly embed */
div[name="termly-embed"]:empty::before {
    content: "Loading privacy policy...";
    display: block;
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

/* Ensure Termly content is styled properly */
div[name="termly-embed"] * {
    max-width: 100% !important;
}

/* Print styles */
@media print {
    .container {
        box-shadow: none !important;
    }
    
    .footer {
        border-top: 1px solid #ccc !important;
    }
} 