* {
    font-family: 'Inter', 'Arial', sans-serif;
}

body {
    background-color: #1f2121;
    color: #ffffff;
    margin: 0;
    padding: 2rem;
}

.outer-container {
    display: flex;
    align-items: flex-start;
}
.outer-padding {
    margin-right: 20%;
}

.container {
    width: 600px;
    margin: 0 auto;
    background: #353838;
    padding: 2rem;
    border: 3px solid #bf9045;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.title {
    font-size: x-large;
    font-weight: bold;

    display: flex;
    margin-bottom: 1rem;
}

.title img {
    max-width: 64px;
    max-height: 64px;
    align-self: center;
    margin-right: 1rem;
}
.title p {
    align-self: center;
}

h3 {
    margin-bottom: 0.8rem;
    margin-top: 0.8rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

button {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: bold;
    border: 1px solid #bf9045;
    border-radius: 0.5rem;
    background-color: #1f2121;
    color: #bf9045;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #bf9045;
    color: #1f2121;
}

#result {
    display: none; /* Don't display until the user has clicked Upload */
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

#result table {
    margin: 1.5rem;
}

#result a {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 0.5rem;
}
#result a img {
    max-width: 24px;
    max-height: 24px;
}

#result strong {
    color: #bf9045;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#copyButton {
    display: none;

    font-size: 0.9rem;
    text-align: center;

    width: 11rem;
    min-height: 2.5rem;

    padding: 0.5rem;
}

.more-info {
    font-size: 0.8rem;
    color: #b3b3b3;

    margin-top: 2rem;
    margin-bottom: 0;
}

.error {
    color: #b91c1c;
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.loading-spinner {
    display: none;

    border: 6px solid #f3f3f3;
    border-top: 6px solid #bf9045;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---------- Header / Navbar ---------- */
.navbar {
    background-color: #353838;
    border: 3px solid #bf9045;
    border-radius: 0.5rem;
    max-width: 80%;
    margin: 0 auto 2rem;

    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
}

.navbar-container {
    display: flex;
    flex-wrap: wrap; /* displays a bit nicer on mobile */
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.navbar-title {
    font-size: 1.8rem;
    margin: 1rem 1rem 1rem 0;
    text-align: center;
}

.navbar-padding {
    margin-right: 20%;
}

.navbar-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 4rem;
    row-gap: 0;

    /*max-width: 40%;*/
}

.navbar-links img {
    max-width: 40px;
    max-height: 40px;
    border-radius: 20px;
}

.nav-link {
    display: flex;
    align-items: center;

    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}
.nav-link.profile {
    padding-bottom: 0.4rem;
    padding-top: 0.4rem;
}
.nav-link.standard {
    padding-bottom: 1rem;
    padding-top: 1rem;
}

.nav-link:hover {
    color: #bf9045;
    text-decoration: underline;
}

.profile-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.profile-links strong, .profile-links a {
    display: flex;
    align-items: center;
}

/* --- Promo Box --- */
.promo {
    border-radius: 0.5rem;
    border: 1px solid #f16436;
    background-color: #353838;

    max-width: 15rem;
    padding: 1.2rem;
    margin-left: 10%;

    display: flex;
    flex-wrap: wrap;
    text-align: center;
}
.promo-title {
    margin-top: 0;
    margin-bottom: 1rem;
}
.mod-link {
    text-decoration: none;
    color: white;

    border: 1px solid #bf9045;
    border-radius: 0.5rem;
    background-color: #1f2121;
    transition: color 0.2s ease;

    margin: 0.5rem auto;
}
.mod-link:hover {
    color: #bf9045;
}
.mod-link p {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
}
.mod-link img {
    display: block;
    max-width: 15rem;
    max-height: 10rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}