@import url('https://fonts.googleapis.com/css2?family=Aladin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wdth,wght@0,100..200,100..900;1,100..200,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 125;
    font-size: 20px;
}

#main {
    width: 500px;
    border: 1px solid black;
    display: block;
    margin: 0 auto;
    margin-top: 180px;
}


#main.full {
    width: 900px;
}

.container {
    position: relative;
    padding: 20px 40px;
}

.container.centered {
    text-align: center;
}

.right-action {
    position: absolute;
    right: 20px;
    top: 20px;
}

@media screen and (max-width: 1000px) {
    #main {
        width: 90%;
        margin-top: 100px;
    }

    #main.full {
        width: 90%;
        margin-top: 100px;
    }

    .container {
        padding: 20px;
    }

    .right-action {
        position: relative;
        display: block;
        top: unset;
        right: unset;
    }
}


.auth_input_group {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.auth_input_group input[type="submit"], .auth_input_group button, .btn {
    padding: 10px;
    border: 2px solid salmon;
    border-radius: 4px;
    box-shadow: 4px 4px 0 0 rgb(235, 216, 200);
    background-color: coral;
    color: white;
    font-size: 17px;
    font-weight: bold;
    transition: box-shadow .1s linear;
    cursor: pointer;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings: "wdth" 125;
    text-decoration: none;
}

.btn-secondary {
    border: 0;
    background-color: slategray;
    font-weight: 400;
    padding: 4px 4px;
}

.auth_input_group input[type="submit"]:hover, .auth_input_group button:hover, .btn:hover {
    box-shadow: none;
}

.input_group {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.input_group label {
    background-color: gainsboro;
    padding: 5px 5px;
    width: min-content;
    white-space: nowrap;
    text-align: left;
    font-size: 16px;
}
.input_group input[type="text"],
.input_group input[type="password"],
.input_group input[type="number"],
.input_group select,
.input_group input[type="time"] {
    padding: 5px;
    font-size: 20px;
    font-family: "Advent Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 125;
}

.login-brand {
    max-width: 50%;
    text-align: center;
    margin: 0 auto;
    display: block;
    font-family: "Aladin", system-ui;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 10px;
}

.login-brand img {
    max-width: 170px;
}

h2 {
    color:rgb(69, 69, 69);
    font-size: 20px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 18px;
    font-family: "Advent Pro", sans-serif;
    background-color: #fffaf5;
    box-shadow: 4px 4px 0 0 rgb(235, 216, 200);
    border: 2px solid salmon;
    border-radius: 8px;
    overflow-x: auto;
}

table td, table th {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0d4c2;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background-color: #fff0e5;
    transition: background-color 0.2s ease-in-out;
}

table td:first-child {
    font-weight: bold;
    color: #cc5c2e;
}

table tr.action td {
    text-align: center;
}

table tr.action .btn {
    width: 80%;
    margin: 0 auto;
    display: block;
}

table th {
    font-weight: bold;
}

@media screen and (max-width: 1000px) {
    table td {
        padding: 16px 6px;
    }
}

#header {
    display: flex;
    border: 1px solid black;
    padding: 10px 20px;
}

#header .right, #header .left {
    flex: 1 0;
}

#header .right {
    text-align: right;
}

#header .title {
    font-family: "Aladin", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    text-decoration: none;
}

#header .title:visited {
    all: unset;
}

.message {
    padding: 10px;
    border: 2px solid salmon;
    border-radius: 4px;
    background-color: rgb(255, 245, 242);
    font-weight: bold;
    color: rgb(69, 69, 69);
    text-align: center;
}

#logout-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

#logout-form {
    display: inline;
}

.day-header {
    font-size: 22px;
    text-align: center;
}

.hidden {
    display: none;
}

.suggested {
    font-style: italic;
}

.delete-btn {
    all: unset;
    cursor: pointer;
    text-align: center;
    color: rgb(209, 128, 152);
}

.delete-btn span {
    font-size: 25px;
    font-weight: bold;
}