/* Base background */
body {
    background: #fefefe;
    margin: 0;
}

.home-return-wrap {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1000;
}

.home-return-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 5px 7px;
    border-radius: 0 0 13px 0;
    color: #ffffff;
    font-size: 0.89rem;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(120deg, #1f2366 0%, #7b2f30 55%, #2f183d 100%);
    box-shadow: 0 8px 16px rgba(20, 22, 48, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-return-btn:hover,
.home-return-btn:focus {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(20, 22, 48, 0.35);
}

table {
    border-collapse: separate;
    border-spacing: 10px 0;
}

table th,
table td {
    padding: 4.8px 10px;
}

table tbody tr + tr td,
table tbody tr + tr th {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/* Side bar */
aside {
    float: left;
    background: #1961F5;
    width: 20%;
    padding: 2.5%;
    height: 100vh; /* 100% */
    color: #fff;

    background-image: url(../img/side_for_furnace.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-right: 5px solid #faa20d;
}

/* logo */
aside img{
    float: left;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Logo text */
aside .smm{
    font-size: 130%;
    margin-left: 10px;
    font-weight: bold;
    position: relative;
    top: 10px;
}

/* h3 headers "Navigation*/
aside h3 {
    margin-top: 50px;
    font-size: 30px;
    font-weight: bold;
}

/* List of urls */
aside ul {
    list-style: none
}

/* list elements */
aside ul li {
    color: #fff;
    font-size: 130%;
    font-weight: bold;
    display: block;
    margin-top: 20px;
    transition: transform .5s ease;
}

aside ul li.nav-divider{
    margin: 14px 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.35);
    transform: none;
}

aside ul a {
    color: #fff;
    text-decoration: none;
}

/* touch effect */
aside ul li:hover, aside ul a:hover {
    color: #faa20d;
    text-decoration: none;
    transform: scale(1.02);
}


main .features{
    float: left;
    color: #000000;
    margin-top: 100px;
    text-align: center;
    width: 75%;
}

main .features h1{
    font-size: 50px;
}

main .features p{
    max-width: 600px;
    margin: 20px auto;
}

main .features table{

    margin-left: auto;
    margin-right: auto;
}

.furnace-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.furnace-group {
    width: 100%;
    min-width: 0;
}

.furnace-group-title {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;
}

.furnace-group-number {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15;
    color: #000000;
}

.furnace-table {
    width: 100%;
    border-spacing: 6px 0;
}

.furnace-table th,
.furnace-table td {
    padding: 4px 6px;
}

.people-table{
    margin-left: auto;
    margin-right: auto;
    min-width: 520px;
}

.people-table th,
.people-table td{
    padding: 3.2px 12px;
    text-align: center;
}

.people-actions {
    margin-top: 28px;
}

.people-action-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #0f6fb2 0%, #1444a7 100%);
    box-shadow: 0 10px 18px rgba(20, 68, 167, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.people-action-btn:hover,
.people-action-btn:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(20, 68, 167, 0.28);
}

.today-bookings-table {
    margin-left: auto;
    margin-right: auto;
}

.today-bookings-table th,
.today-bookings-table td {
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 900px) {
    aside {
        width: 100%;
        height: auto;
        float: none;
    }

    main .features {
        float: none;
        width: auto;
        margin: 60px 20px 40px;
    }

    .furnace-groups {
        grid-template-columns: 1fr;
    }
}
