﻿:root {
    --paper-color: #fcfaf6;
    --ink-color: #3a3129;
    --accent-primary: #c44536;
    --accent-secondary: #2a5298;
    --line-color: rgba(202, 179, 159, 0.2);
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
    --spiral-width: 24px;
}

body {
    background: #f5f0e7;
    font-family: 'Open Sans', sans-serif;
    color: var(--ink-color);
    line-height: 1.7;
}

.journal-container {
    max-width: 1200px;
    margin: 2rem auto;
    background: var(--paper-color);
    box-shadow: var(--shadow-light);
    position: relative;
    min-height: 90vh;
    border-left: var(--spiral-width) solid #e3d5c4;
}

    .journal-container::before {
        content: '';
        position: absolute;
        left: calc(-1 * var(--spiral-width));
        top: 0;
        bottom: 0;
        width: var(--spiral-width);
        background: repeating-linear-gradient(180deg, #e3d5c4 0px, #e3d5c4 24px, #d8c9b6 24px, #d8c9b6 25px);
    }

.journal-content {
    padding: 3rem;
    background-image: linear-gradient(var(--line-color) 1px, transparent 1px);
    background-size: 100% 32px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .auth-header h1 {
        font-family: 'Caveat', cursive;
        font-size: 2.5rem;
        color: var(--accent-primary);
        margin-bottom: 1rem;
    }

.auth-container {
    max-width: 500px;
    margin: 0 auto;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e3d5c4;
    border-radius: 3px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--accent-primary);
        box-shadow: 0 0 0 3px rgba(196, 69, 54, 0.1);
    }

.btn-primary {
    background: var(--accent-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-light);
    }

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

    .auth-links a {
        color: var(--accent-secondary);
        text-decoration: none;
        margin: 0 0.5rem;
    }

        .auth-links a:hover {
            text-decoration: underline;
        }

.text-danger {
    color: #c44536;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

@media (max-width: 768px) {
    .journal-container {
        margin: 0;
        border-left-width: 12px;
    }

        .journal-container::before {
            left: -12px;
            width: 12px;
        }

    .journal-content {
        padding: 1.5rem;
    }

    .auth-header h1 {
        font-size: 2rem;
    }
}
