/* css/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    /* Light gray background */
    color: #333;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    /* White container */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
}

h1,
h2,
h3 {
    color: #2c3e50;
}

input,
select,
button {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    font-size: 16px;
}

input:focus,
select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

button {
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

button:hover {
    background: #0056b3;
}

.link-item {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-item a {
    color: #007bff;
    text-decoration: none;
    word-break: break-all;
    margin-right: 15px;
}

.btn-danger {
    background: #dc3545;
    width: auto;
    padding: 8px 15px;
    margin: 0;
}

.btn-danger:hover {
    background: #c82333;
}

.nav {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.nav a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
}

.nav a.active {
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
    margin-bottom: -17px;
    padding-bottom: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.photo-card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.photo-card img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

.photo-meta {
    font-size: 0.85em;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

/* Trap Page Specifics (Overlay) */
.trap-body {
    background: #000;
    /* Fallback */
    overflow: hidden;
}