/* Global CSS - Shared across all pages */

:root {
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --background-color: rgba(255, 255, 255, 0.75);
    --text-color: #1f2937;
    --border-radius: 16px;
    --container-border-color: rgba(255, 255, 255, 0.3);
    --subtle-border-color: rgba(0, 0, 0, 0.08);
    --border-color: #e5e7eb;
    --grey-event: #d1d5db;
    --red-event: #fca5a5;
    --green-event: #86efac;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-image: url('/static/create_bg.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.container {
    max-width: 700px;
    width: 100%;
    background: var(--background-color);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid var(--container-border-color);
}

h1 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

h2 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--subtle-border-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    display: inline-block;
    min-width: 150px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
}

.info-box {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid var(--primary-color);
    padding: 1.2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box strong {
    color: var(--primary-color);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--subtle-border-color);
    font-size: 0.9rem;
    color: #4b5563;
}

input[type="text"] {
    padding: 0.8rem;
    border: 1px solid var(--subtle-border-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
