*:not(button) {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
}

body { 
    background-image: url("bg.jpg"); 
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat; 
    background-color: #eee; 
    
}

.php-website {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(2px);
}

.left-pane {
    width: 230px;
    height: 100vh;
    background-color: #f6f3f6;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow-y: auto;
    flex-shrink: 0;
    box-shadow: 7px 10px 10px rgb(0, 0, 0);
}

.left-pane button {
    width: 100%;
    background-color:#007bff;
    border-radius: 5px;
    margin-top: 5px;
    padding: 10px;
}
.left-pane input {
    width: 100%;
    margin-top: 5px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}
.left-pane select{
  width: 100%;
}
.top-pane {
    position: absolute;
    top: 0;
    left: 230px;
    width: calc(100% - 230px);
    height: 60px;
    background: #f6f3f6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    z-index: 10;
    box-shadow: 12px 7px 10px rgb(0, 0, 0); 
}

.top-pane::before {
    content: "";
    position: absolute;
    background-color: transparent;
    left: 0%;
    bottom: -50px;
    height: 50px;
    width: 25px;
    border-top-left-radius: 25px;
    box-shadow: 0 -25px 0 0 rgba(246, 243, 246, 1);
}

.right-pane {
    padding: 5%;
    padding-top: 0;
    overflow: auto;
    width: 87%;
    scrollbar-gutter: stable;
}

/* Table styling */
.right-pane table {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 2000px;
    min-width: 600px;
    border-collapse: collapse;
    table-layout: auto;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-top: 120px;
}

td, th {
    border-bottom: 1px solid #ddd;
    padding: 10px 8px;
    font-size: 14px;
    vertical-align: middle;
    text-align: left !important;
    max-height: 50px !important;
    overflow: hidden;
}

td > * {
    display: block;
    text-align: left;
}

td button {
    width: 100%;
    padding: 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 8px;
    background: #007bff;
    color: #fff;
    transition: all 0.2s ease;
}

td button:hover {
    background: #0056b3;
}

h2, h4 {
    color: #222;
}

h5{
    color: red;
    font-size: 14px;
}

input[type="text"]
{
    width: 100%;
    padding: 10px 12px;
    margin: 6px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease-in-out;
}
select{
    width: 20%;
    padding: 10px 12px;
    margin: 6px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease-in-out;
}

input[type="text"]:focus, select:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
}

button {
    border: none;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

button:hover {
    filter: brightness(105%);
}

.status-buttons .pre-launch button { background: #ff9900; }
.status-buttons .working button { background: #00ff37; }
.status-buttons .crashed button { background: #1e00ff; }
.status-buttons .malfunctioned button { background: #7d0068; }
.status-buttons .unknown button { background: #ff0000; }

.right-pane::-webkit-scrollbar,
.left-pane::-webkit-scrollbar,
select::-webkit-scrollbar {
    display: none;
}

.expiry-timer {
    z-index: 99;
    position: fixed;
    top: 0px;
    right: 0px;
    background-color: white;
    height: 10%;
    width: 20%;
    text-align:center;
}