@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@700&display=swap');

body {
    font-family: Arial, sans-serif;
    background: #000; /* Fallback color */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1em;
    box-sizing: border-box;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 50%;
    height: 100vh;
    background-image: url('https://happynewyeargif.com/mensaje/mimagen/merry-christmas-and-happy-new-year-2026-cat-gif.gif');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

body::before {
    left: 0;
    background-position: left center;
}

body::after {
    right: 0;
    background-position: right center;
}

.container {
    background: #ffffff;
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 600px;
    border: 3px dashed #e74c3c;
    position: relative;
}

.admin-icon-link {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #555;
}

.admin-icon-link:hover {
    color: #007BFF;
}

h1 {
    font-family: 'Mountains of Christmas', cursive;
    text-align: center;
    color: #c0392b;
    font-size: 3em;
    margin-bottom: .5em;
    text-shadow: 2px 2px #fdfbfb;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: .5em;
    font-weight: bold;
    color: #2c3e50;
}

input[type="text"],
input[type="password"],
textarea {
    padding: .8em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 5px #c0392b;
    border-color: #c0392b;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #e74c3c;
    color: white;
    padding: .8em;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button[type="submit"]:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
}

th, td {
    padding: .8em;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

.view-list-link {
    text-align: center;
    margin-top: 1.5em;
}

.view-list-link a {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.view-list-link a:hover {
    text-decoration: underline;
}

.admin-links {
    margin-bottom: 20px;
    text-align: right;
}

.admin-links a {
    margin-left: 15px;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.admin-links a:hover {
    text-decoration: underline;
}
/* #lottie-bg artıq istifadə olunmur, silə bilərik */

.note {
    font-size: 0.8em;
    color: #c0392b;
    text-align: right;
    display: block;
}
label{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#add-letter-btn {
    background-color: #2ecc71;
    color: white;
    padding: .6em 1em;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    width: auto;
    margin-top: 10px;
}

#add-letter-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.special-letter-group {
    margin-top: 15px;
    padding: 15px;
    border: 1px dashed #27ae60;
    border-radius: 8px;
    background-color: #f0fff5;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.special-letter-group input[type="text"],
.special-letter-group textarea {
    width: 100%;
    box-sizing: border-box; /* Doldurma və çərçivənin enə daxil olmasını təmin edir */
}

.delete-letter-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 0.8em;
    border-radius: 5px;
    cursor: pointer;
    float: right;
    margin-bottom: 5px;
    transition: background-color 0.3s;
}

.delete-letter-btn:hover {
    background-color: #c0392b;
}

