/* Kingdom of Loathing Classic Style */

body {
    background: #fff;
    color: #000;
    font-family: "Times New Roman", Georgia, serif;
    line-height: 1.4;
    margin: 20px auto;
    max-width: 900px;
    text-align: center;
}

a {
    color: #0000EE;
    text-decoration: underline;
}

a:hover {
    color: #551A8B;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

.centered {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

button, .btn, input[type="submit"] {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
}

button:hover, .btn:hover, input[type="submit"]:hover {
    background: #eeeeee;
    color: #000;
}

table {
    border-collapse: collapse;
    border: 1px solid #000;
    margin: 10px auto;
}

td, th {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

.alert {
    padding: 10px;
    border: 1px solid #000;
    margin: 10px auto;
    max-width: 600px;
    text-align: center;
}

.alert-success {
    background: #fff;
}

.alert-error {
    background: #fff;
    font-weight: bold;
}

/* Bigg's Dig Site */

.dig-container {
    text-align: center;
    margin-top: 20px;
}

.dig-grid {
    display: grid;
    grid-template-columns: repeat(6, 40px);
    grid-gap: 5px; /* Traditional table look */
    justify-content: center;
    margin: 20px auto;
    width: fit-content;
    border: 1px solid #000;
}

.dig-cell {
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-decoration: none;
    padding: 0;
    box-sizing: border-box;
}

.dig-cell img {
    max-width: 32px;
    max-height: 32px;
    display: block;
}

.dig-cell:hover {
    background: #eee;
}

.cell-spot-dug {
    cursor: default;
}

.cell-spot-dug:hover {
    background: #fff;
}

.progress-container {
    width: 300px;
    height: 20px;
    border: 1px solid #000;
    margin: 10px auto;
    position: relative;
    background: #fff;
}

.progress-bar {
    height: 100%;
    background: #000;
    transition: width 0.3s;
}

.dig-stats {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.dig-nav {
    margin: 15px 0;
}

.btn-back {
    display: inline-block;
    margin-bottom: 10px;
}

.adventure-pic {
    width: 300px;
    height: auto;
    border: 1px solid #000;
    margin: 10px 0;
}
