@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&display=swap');

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
    flex-direction: row;
    height: 100vh;
  background: linear-gradient(to bottom, #666666, #363636);
}

#main-content {
    color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(52, 51, 51, 0.9), rgba(23, 23, 23, 0.95));
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#drop-zone {
    position: fixed;
    top: 3vh;
    left: 5vw;
    width: 70vw;
    height: 70vh;
    background: linear-gradient(rgba(49, 49, 49, 0.95), rgba(93, 93, 92, 0.95));
    border: 2px solid #141414;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 900;
    resize: both;
    overflow: auto;
    min-width: 300px;
    min-height: 200px;
}

.drop-content {
    height: calc(100% - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#drop-zone img,
#drop-zone video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

#notes {
    position: fixed;
    bottom: 1vw;
    left: 5vw;
    width: 90vw;
    background: linear-gradient(rgba(49, 49, 49, 0.95), rgba(93, 93, 92, 0.95));
    border: 2px solid #141414;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 900;
    resize: both;
    overflow: auto;
    min-width: 200px;
    min-height: 150px;
}

.info {
    width: calc(100% - 20px);
    height: calc(100% - 50px);
    margin: 5px;
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid #363636;
    border-radius: 5px;
    background: linear-gradient(to bottom, #666666, #363636);
    color: #ffffff;
    resize: none;
}

#side-panel {
    position: fixed;
    top: 3vh;
    right: 5vw;
    width: 330px;
    height: 65vh;
    padding: 5px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(49, 49, 49, 0.95), rgba(93, 93, 92, 0.95)), url('logo.svg') no-repeat center bottom;
    background-size: 350px;
    background-blend-mode: overlay;
    border: 2px solid #141414;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    resize: both;
    overflow: auto;
    min-width: 250px;
    min-height: 300px;
}

.panel-header {
    height: 40px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: #494949 1px solid;
    cursor: move;
}

.drag-handle {
    color: #ffffff;
    font-size: 20px;
    cursor: move;
    user-select: none;
}

.tracker-form input, .tracker-form button {
    font-family: 'Crimson Text', serif;
    padding: 5px;
    font-size: 14px;
    background: linear-gradient(to bottom, #666666, #363636);
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 4px;
}

.tracker-form button {
  background: linear-gradient(to bottom, #414141, #363636);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tracker-form button:hover {
  background: linear-gradient(to bottom, #cecece, #aeaeae);
    transform: translateY(-2px);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    margin-top: 10px;
}

table th, table td {
    text-align: left;
    padding: 5px;
    border: 1px solid #363636;
}

table th {
    background: linear-gradient(45deg, #464646, #1f1f1f);
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

table tr {
    background: linear-gradient(45deg, #494949, #1a0f1f);
    transition: all 0.3s ease;
}

.highlighted {
    background: linear-gradient(45deg, #c1b617, #8b7b13);
    color: #fff;
}

.critical {
    background: linear-gradient(45deg, #8b0000, #580000);
    color: #fff;
}

.dead {
    background: linear-gradient(45deg, #000000, #1a0f1f);
    color: #666;
}

h2 {
    color: #666;
}

h1, h2 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

tr {
    color: #ffffff;
}

.panel-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 30, 0.9);
    padding: 10px;
    border-top: 1px solid #494949;
}

.grid-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.toggle input {
    cursor: pointer;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-container input[type="range"] {
    width: 100px;
    cursor: pointer;
}

.color-preview {
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    background: #000;
}

.grid-overlay {
    position: absolute;
    top: 40px; /* Account for header height */
    left: 0;
    right: 0;
    bottom: 40px; /* Account for footer height */
    pointer-events: none;
    z-index: 1000;
}