/* Admin specific styles */
.admin-page {
    padding: 2rem 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-form h1 {
    margin-top: 0;
    text-align: center;
}

.error-message {
    color: #d9534f;
    background-color: #f2dede;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
}

.form-actions {
    margin-top: 2rem;
    text-align: right;
}

.article-list table {
    width: 100%;
    border-collapse: collapse;
}

.article-list th,
.article-list td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.article-list th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.article-list .actions {
    white-space: nowrap;
}

.article-list .button {
    display: inline-block;
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
}

.article-list .button:hover {
    background-color: #e5e5e5;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.article-form {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* EasyMDE customizations */
.CodeMirror {
    height: 300px !important;
    border: 1px solid #ddd;
}

.editor-toolbar {
    border: 1px solid #ddd;
    border-bottom: none;
}

/* Utility classes */
.button {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #e5e5e5;
} 