/* assets/css/style.css */

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Admin Styles */
.admin-body {
    background-color: #f8f9fa;
}

/* Frontend Styles */
.frontend-body {
    background: radial-gradient(circle, #f8f9fa 0%, #e0e4e8 100%);
    min-height: 100vh;
}

/* Site Logo */
.site-logo {
    background-color: #01afee;
    color: white;
    padding: 10px 30px;
    font-size: 28px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.site-logo-img {
    max-height: 80px;
    display: inline-block;
    margin: 0 auto;
}

/* Control Bar */
.control-bar {
    background-color: #e0e0e0;
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    max-width: 800px;
}
.btn-custom {
    background-color: #01afee;
    color: white;
    border: 1px solid #008ec4;
    padding: 6px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-custom:hover {
    background-color: #008ec4;
    color: white;
}
.input-custom {
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 3px;
    outline: none;
}

/* Edition Card */
.edition-card {
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.edition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.edition-cover-wrapper {
    width: 100%;
    height: 280px;
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    overflow: hidden;
}
.edition-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.edition-title {
    color: #01afee;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}
.edition-date {
    color: #01afee;
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
    text-align: center;
}

/* Pagination */
.custom-page-link.active {
    background-color: #01afee !important;
    border-color: #01afee !important;
    color: white !important;
}
.custom-page-link {
    color: #01afee;
}

/* Generic Utilities */
.rounded-4 {
    border-radius: 1rem !important;
}
.rounded-5 {
    border-radius: 1.5rem !important;
}
/* Forms */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(1, 175, 238, 0.25);
    border-color: #01afee;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .control-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .control-form {
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
    }
    .control-form > * {
        width: 100%;
    }
    .btn-custom {
        width: 100%;
        text-align: center;
    }
    .site-logo-img {
        max-width: 100%;
        height: auto;
    }
}
