/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background-color: #121212; /* Dark Background */
    transition: background-color 0.3s, color 0.3s;
}

/* Header Styles */
header {
    background-color: #1f1f1f; /* Slightly lighter for contrast */
    color: #e0e0e0;
    padding: 2rem 1rem;
    text-align: center;
}

#progress-container {
    margin-top: 1rem;
    text-align: center;
}

#progress-text {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

#progress-bar {
    width: 90%;
    background-color: #444;
    border-radius: 8px;
    margin: 0 auto;
    overflow: hidden;
    height: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

button {
    background: #2a2a2a; /* Dark Green */
    color: #e0e0e0;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background: #ff8700; /* Slightly Darker Green */
}

button:active {
    transform: scale(0.98);
}
#progress-fill {
    width: 0%;
    height: 100%;
    background-color: #ff8700;
    transition: width 0.3s ease-in-out;
}

/* Input Styles */
.input-group {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

input[type="text"] {
    flex: 1;
    max-width: 500px;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: #333; /* Dark Input Background */
    color: #e0e0e0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

input[type="text"]:focus {
    border-color: #ff8700; /* Highlight Color */
    outline: none;
    box-shadow: 0 0 10px rgba(255, 135, 0, 0.5);
}

/* Cards Styles */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: #1f1f1f; /* Dark Gray */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    gap: 0.5rem; /* Add gap between icon and text */
}
.rune-icon {
    width: 30px;  /* Set width */
    height: 30px; /* Set height */
    border-radius: 4px; /* Optionally round the corners */
}
.card-body {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    transition: max-height 0.3s ease-in-out;
}

.card-body.visible {
    display: flex;
}

.card ul {
    padding-left: 1rem;
}

/* Table Styles */
.level-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border: 1px solid #444;
}

.level-table th,
.level-table td {
    border: 1px solid #444;
    padding: 0.5rem;
    text-align: left;
}

.level-table th {
    background-color: #2a2a2a; /* Header Background */
    color: #ff8700;
}

.level-table td {
    background-color: #1f1f1f;
}

.toggle {
    position: relative;
    width: 40px;
    height: 20px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff8700;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

@media (max-width: 480px) {
    header {
        font-size: 0.875rem;
    }

    input[type="text"] {
        font-size: 0.875rem;
    }

    .card {
        padding: 0.75rem;
    }

    .card-header {
        font-size: 1rem;
    }
}
