/* Page */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(to right, #0b1c2d, #122c44);
    color: #ffffff;
    margin: 0;
    padding: 40px;
}

/* Headings */

h2 {
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Links */

a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* ----------------------- */
/* PLAYER ADD FORM */
/* ----------------------- */

form {
    margin-bottom: 20px;
}

form input {
    padding: 8px 10px;
    border-radius: 5px;
    border: none;
    margin-right: 6px;
    font-size: 14px;
}

/* Text inputs */

input[type="text"],
input[type="number"] {
    background: #f2f2f2;
    color: #000;
    width: 110px;
}

/* Name field bigger */

input[name="Name"] {
    width: 180px;
}

/* Buttons */

input[type="submit"] {
    background-color: #4fc3f7;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    padding: 9px 16px;
    transition: 0.2s ease;
}

input[type="submit"]:hover {
    background-color: #29b6f6;
    transform: translateY(-1px);
}

/* ----------------------- */
/* SEARCH BAR */
/* ----------------------- */

form[action="baseball.php"] {
    margin-top: 15px;
}

form[action="baseball.php"] input[type="text"] {
    width: 220px;
}

/* ----------------------- */
/* DISPLAY OPTIONS */
/* ----------------------- */

.display-options {
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 15px;
}

.display-options a {
    margin: 0 6px;
    color: #4fc3f7;
}

.display-options a:hover {
    color: white;
}

/* ----------------------- */
/* TABLE */
/* ----------------------- */

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1410px;
    margin-top: 25px;
    background-color: #ffffff;
    color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

th {
    background-color: #1e3a5f;
    color: white;
    padding: 12px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

td {
    padding: 12px;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #f4f6f9;
}

tr:hover {
    background-color: #e3f2fd;
    transition: 0.2s ease-in-out;
}

/* Sort links */

th a {
    text-decoration: none;
    color: rgb(79, 195, 247);
    font-weight: bold;
}

th a:hover {
    color: white;
}



.pagination {
    margin-top: 25px;
    text-align: center;
}

.pagination a {
    padding: 6px 12px;
    border: 1px solid #ccc;
    margin: 3px;
    text-decoration: none;
    color: white;
}

.pagination strong {
    padding: 6px 12px;
    background: #4fc3f7;
    color: black;
}