* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

h1 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
}

button:hover {
    background: #45a049;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.logout {
    float: right;
    background: #f44336;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.logout:hover {
    background: #da190b;
}

.dashboard-header {
    margin-bottom: 1rem;
}

.dashboard-header h1 {
    display: inline-block;
}

.dashboard-header form {
    display: inline-block;
}

.dashboard-header .clearfix {
    clear: both;
}

.dashboard-header .welcome-text {
    color: #666;
    margin-top: 0.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
}

.button-group button {
    flex: 1;
}

.button-group button.preview-btn {
    background: #2196F3;
}

