/* [CODE FLAG: PRODUCTION_GRADE] */
body {
    font-family: Arial, sans-serif;
    background-color: #43464B; /* Dark grey background */
    color: white; /* White text */
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #D2042D; 
    margin-bottom: 30px;
}

h1, h2, h3 {
    color: #D2042D; /* Red for headings */
    margin-bottom: 15px;
}

a {
    color: r#D2042D; /* Red for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

.container {
    max-width: 900px;
    margin: auto;
    background-color: #51545A; /* Slightly lighter grey for content blocks */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.article-list, .gift-list {
    list-style: none;
    padding: 0;
}

.article-item, .gift-item {
    background-color: #6a6e75; /* Even lighter grey for individual items */
    margin-bottom: 15px;
    padding: 15px;
    border-left: 5px solid #D2042D; 
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.article-item a, .gift-item a {
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.gift-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.gift-item .details {
    flex-grow: 1;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="file"],
.form-group textarea {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #888;
    background-color: #43464B;
    color: white;
    border-radius: 4px;
}

.form-group button {
    background-color: #D2042D;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.form-group button:hover {
    background-color: #D2042D;
}

.flash {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-weight: bold;
}

.flash.success {
    background-color: #4CAF50; /* Green */
    color: white;
}

.flash.error {
    background-color: #D2042D; /* Red */
    color: white;
}

.flash.info {
    background-color: #2196F3; /* Blue */
    color: white;
}

footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    color: #bbb;
    border-top: 1px dashed #888;
}

#bell-splash {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    max-height: 180px; /* NEW: Sets a maximum height */
    width: auto;     /* NEW: Allows width to adjust proportionally */
    height: auto;    /* Ensures aspect ratio is maintained */
}

/* [CODE FLAG: PRODUCTION_GRADE] */

.article-actions {
    margin-top: 10px;
    display: flex; /* Arrange buttons/links in a row */
    gap: 10px;    /* Space between them */
}

.btn-sm {
    background-color: #6a6e75; /* Neutral grey for edit */
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    text-decoration: none; /* For link-styled buttons */
    display: inline-block; /* Treat links as blocks for padding */
    text-align: center;
}

.btn-sm:hover {
    background-color: #51545A;
}

.btn-delete {
    background-color: #D2042D /* Red for delete */
}

.btn-delete:hover {
    background-color: #D2042D;
}
.gift-actions {
    margin-left: auto; /* Pushes actions to the right if in flex container */
    padding-left: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

a:link {
    color: #AAFF00;
    
}
a:hover {
    color: #355E3B;
    
}
a:visited {
    color: #FFBF00;
    
}
.nav-link {
    font-size: 16px;
    font-weight: bold;
}