/**
 * Reldens - CMS - Styles
 */

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f7f8fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #3498db;
    font-weight: 600;
}

nav a:hover {
    color: #2980b9;
}

nav a.active {
    border-bottom: 2px solid #3498db;
}

main {
    background-color: #fff;
    padding: 40px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1, h2, h3 {
    color: #1a2b49;
    margin-top: 0;
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    color: #2980b9;
}

.error-container {
    text-align: center;
    padding: 50px 20px;
}

.error-container h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
    color: white;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none;
}

[data-toggle="modal"], .clickable {
    cursor: pointer;
}

.modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal {
    max-width: 92vw;
    max-height: 92vh;
    padding: 1rem;
    overflow: auto;
    cursor: pointer;
    background-color: #fff;
    border-radius: 8px;
}

.modal.modal-fit {
    overflow: hidden;
    padding: 0;
}

.modal.modal-fit img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}
