
/* ---------- General Layout ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

@font-face {
  font-family: "alagard";
  src: url("fonts/alagard.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.banner-text {
  font-family: "alagard", sans-serif;
  font-size: 48px;
  text-align: center;
  margin-bottom: 10px;
  color: #fff;
    text-shadow:
    2px 2px 0 #2e696b,
    4px 4px 0 #5bbe7d;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
    margin: 0;
    padding: 20px;
  background-image: url("images/sharenian.png"); /* or full URL */
  background-size: cover;
  background-position: center top; /* or center center */
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #e1f5ee;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

/* ---------- Header / Inputs ---------- */
.form-row {
    margin-bottom: 20px;
    align-items: center;
}

label {
    font-weight: 600;
}

input[type="text"], input[type="number"] {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px 10px;
    width: 100%;
    box-sizing: border-box;
}

/* ---------- Buttons ---------- */
button.btn {
    background-color: #2e696b;
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s all;
}

button.btn:hover {
    background-color: #49907c;
}
button.btn:focus {
    outline: 2px solid #28a745; /* change to any color you like */
    outline-offset: 2px; /* optional: space between button edge and outline */
}
/* ---------- Guess Display ---------- */
#cur-guess, #old-guesses-table {
    margin-top: 20px;
}

.guess {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.form-inline label {
    font-weight: normal;
}

/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 8px 12px;
    text-align: center;
}

table th {
    background-color: #2e696b;
    color: #fff;
    border-radius: 5px;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* ---------- Alerts ---------- */
.alert {
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* ---------- Misc ---------- */
input[type="number"] {
    width: 60px;
}

#info-message p {
  margin: 2px 0;
  text-align: left;
}
