/* Pages Index Styling */
.pages-index {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pages-index h1 {
    margin-bottom: 30px;
    font-weight: 700;
    color: #333;
}

.pages-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.pages-table th,
.pages-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pages-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.pages-table tr:hover {
    background: #f8f9fa;
}

.page-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.page-actions a,
.page-actions input[type="submit"] {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.page-actions a:hover,
.page-actions input[type="submit"]:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.new-page-btn {
    padding: 12px 24px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.new-page-btn:hover {
    background: #000;
    color: #fff;
}

.page-actions .destroy-btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-actions .destroy-btn:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.page-nav {
    text-align: center;
    margin: 30px 0;
}

.page-nav a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-nav a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.page-form-submit,
input[type="submit"] {
    padding: 12px 24px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.page-form-submit:hover,
input[type="submit"]:hover {
    background: #000;
    color: #fff;
}