/*general */
body {
    background-color: #3a2e24;
    color: #2c241e;
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4a3728;
    padding: 20px;
    border-bottom: 5px solid #2c241e;
}


nav a {
    color: #e8d5b5;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'MedievalSharp', cursive;
    letter-spacing: 1px;
}

nav a:hover {
    color: #ffca28;
}

h1, h2, h3, .beast-title {
    font-family: 'MedievalSharp', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beast-title {
    font-size: 2.2rem;
    text-align: center;
    border-bottom: 2px double #4a3728;
    margin-bottom: 30px;
}


/* layout*/

main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #c9ad86;
    background-color: #e8d5b5;
    box-shadow: 10px 10px 0px #2c241e;
}


.home-journal-page {
    background: #e8d5b5;
    background-image: radial-gradient(circle at 50% 50%, #f4e9d5 0%, #e8d5b5 100%);
    box-shadow: 15px 15px 30px rgba(0,0,0,0.5), inset 0 0 80px rgba(74, 55, 40, 0.1);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border: 1px solid #4a3728;
}

/* monster/profile card */
.monster-detail-card {
    background: rgba(253, 250, 240, 0.4);
    border: 2px solid #4a3728;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.monster-detail-card label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    color: #2c241e;
}

.monster-detail-card p {
    margin-bottom: 15px;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #4a3728;
    background-color: rgba(255, 255, 255, 0.2);
    font-family: 'Georgia', serif;
}


button, .btn-submit, .actions button {
    background-color: #8b0000;
    color: white;
    padding: 10px 20px;
    border: 1px solid #2c241e;
    cursor: pointer;
    font-family: 'MedievalSharp', cursive;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
    box-shadow: 2px 2px 0px #2c241e;
}

/* extras */
.home-divider {
    height: 1px;
    width: 60%;
    margin: 20px auto;
    background: linear-gradient(to right, transparent, #4a3728, transparent);
    position: relative;
}

.home-divider::after {
    content: "†";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e8d5b5;
    padding: 0 10px;
    color: #4a3728;
}

footer p {
    color: #e8d5b5 !important;
    text-align: center;
    padding: 20px;
}

/* profile pic info */
.profile-flex-wrapper {
    display: flex;
    gap: 30px; /* space between picture and text */
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-text-info {
    flex: 1;
}

.profile-pic-frame {
    flex-shrink: 0;
    border: 1px solid #2c241e;
    padding: 5px;
    background: #191970;
    box-shadow: 5px 5px 0px #4a3728;
}
textarea {
    resize: vertical;
}


.cancel-link {
    background-color: #2c241e;
    color: #e8d5b5 !important;
    padding: 10px 20px;
    text-decoration: none;
    font-family: 'MedievalSharp', cursive;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid #2c241e;
    box-shadow: 2px 2px 0px #2c241e;
    transition: 0.3s;
    cursor: pointer;
}

.cancel-link:hover {
    background-color: #4a3728;
    color: #ffca28 !important;
    box-shadow: 0px 0px 10px #ffca28;
}

.actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid #c9ad86;
    padding-top: 20px;
    justify-content: flex-start;
}

/* field notes */
.recent-notes-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 1.5rem;
    margin-top: 30px;
    color: #2c241e;
}

.recent-notes-list {
    list-style-type: none;
    padding: 0;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.recent-notes-list li {
    border-bottom: 1px dotted #4a3728;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}

.recent-beast-name {
    font-weight: bold;
    color: #8b0000; /* Uses your dark red button color for emphasis */
}

/* makes images fit */
.image-frame img {
    max-width: 100%;
    height: auto;
    border: 3px solid #2c241e;
    box-shadow: 5px 5px 0px #4a3728;
    margin-bottom: 20px;
    display: block;
}

.image-frame {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* dashboard layout */
.fixed-sidebar {
    position: fixed;
    right: 20px;
    top: 150px;
    width: 220px;
    z-index: 100;
}


.fixed-sidebar .stats-card {
    padding: 15px;
    background: rgba(232, 213, 181, 0.95);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4);
}

.fixed-sidebar .stat-number {
    font-size: 3rem;
    color: #8b0000;
}

.fixed-sidebar .stat-label {
    font-size: 0.8rem;
}


@media (max-width: 1100px) {
    .fixed-sidebar {
        display: none;
    }
}

/* medalion css */
.medallion-sticker {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 150px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    filter: sepia(0.5) contrast(1.2);
}

.medallion-sticker img {
    width: 100%;
    height: auto;
}