html {
	/* Removes the vertical scrollbar caused by Bulma */
	overflow-y: auto;
}

.char-name.title {
	margin-bottom: 0px;
}

/* Sylvania Custom Styling */
body {
    background: url("/armory/img/sylvania_bg_new.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #f0f0f0;
    min-height: 100vh;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.section {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1300px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem !important;
}

.title, .label, .table {
    color: #fff !important;
}

.table {
    background-color: transparent !important;
    color: #ddd !important;
}

.table thead th {
    color: #4a9eff !important;
    border-bottom: 2px solid #4a9eff !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.table td, .table th {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.nav-container {
    padding: 20px 40px 0 40px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.button.is-home {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.button.is-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    filter: brightness(1.2);
}


/* DataTables & Search Bar Enhancements */
.dataTables_wrapper .dataTables_filter {
    float: right;
    margin-bottom: 1.5rem;
}

.dataTables_wrapper .dataTables_filter input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(74, 158, 255, 0.3) !important;
    border-radius: 20px !important;
    color: #fff !important;
    padding: 8px 20px !important;
    outline: none !important;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    min-width: 250px;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #4a9eff !important;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.4), inset 0 2px 5px rgba(0,0,0,0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.dataTables_wrapper .dataTables_length select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 5px !important;
    color: #fff !important;
    padding: 5px !important;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_info {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem;
    padding-top: 1.5rem !important;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 1.5rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 5px !important;
    margin: 0 3px;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #4a9eff !important;
    color: white !important;
    border-color: #4a9eff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #4a9eff !important;
    color: white !important;
    border-color: #4a9eff !important;
    font-weight: bold;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Character Names Styling */
#results a {
    color: #4a9eff;
    font-weight: 600;
    transition: color 0.2s ease;
}

#results a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Images icons styling */
#results img {
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
