:root{

    --primary: #ff1f56;

}
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(120deg, rgba(125,5,74,0.9) 0%, rgba(116,45,0,0.85) 45%, rgba(0,0,0,0.95) 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    font-size: 1.2em;
}

@keyframes gradientBG {
    0% {background-position:0% 50%;}
    50% {background-position:100% 50%;}
    100% {background-position:0% 50%;}
}

/* Container */
.container {
    max-width: 1200px;
    min-height: 300px;
    margin: 2em auto;
    padding: 1.5em;
    background: rgba(255,255,255,0.95);
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Headings */
h1 { text-align: center; font-weight: 600; margin-bottom: 1em; }

/* Controls */
.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
    margin-bottom: 1em;
}
.controls input[type="file"], .controls input[type="text"], .controls button {
    padding: 0.5em;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.95em;
}
.controls button {
    background: var(--primary);
    color: #fff;
    border: none;
    transition: 0.3s;
}
.controls button:hover { background: #ff9500; cursor: pointer; }
.controls input[type="text"] { flex: 1 1 200px; }

/* Status */
#status {
    text-align: center;
    margin-bottom: 1em;
    font-weight: 500;
    background-color: rgba(100,100,100,0.5);
    border:solid rgba(50,50,50, 0.5);
    color: #ffffff;
    font-weight: bold;
    text-shadow:0px 0px 5px rgba(0,0,0,0.3);
    padding: 10px;
    width:auto;
    height: auto;
    position: relative;
    border-radius: 10px;

}

/* Fixture List */
#fixtureList{
    display: grid;
    gap: 1em;
}
.fixture-item{
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1em;
    border-left: 5px solid var(--primary);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.fixture-item:hover{
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.fixture-item strong {
    font-size: 1.1em; display:
    block; margin-bottom: 0.2em;
}

/* Summary & Channels */
.summary {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 0.5em;
}

.toggle-btn {
    display: inline-block;
    margin-top: 0.5em;
    font-size: 0.9em;
    padding: 0.25em 0.5em;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}
.toggle-btn:hover { background: #ff9500; }

.channel-list {
    display: none;
    margin-top: 0.5em;
    padding-left: 1em;
    border-left: 2px solid #ccc;
    transition: max-height 0.3s ease;
}
.channel-item {
    padding: 2px 6px;
    margin: 2px 0;
    border-radius: 3px;
    font-size: 1em;
    transition: background 0.2s;
    border-bottom: solid rgba(0,0,0,0.3) 1px; 
}
.channel-red {
    background-color: #ff4d4d;
    color: #fff;
}

.channel-green {
    background-color: #4dff4d;
    color: #fff;
}

.channel-blue {
    background-color: #4d4dff;
    color: #fff;
}

.preset-item { 
    padding-left: 1em;
    padding-top: 2px;
    padding-bottom: 2px;

    font-size: 1em; 
    color: #333;
}

.preset-default{
    padding:4px;
    border-radius: 4px;
    background: rgba(0,0,0,0.3);
    text-shadow:0px 0px 5px rgba(0,0,0,0.3);
    color: #fff;

}

/* Simple Table */
#simpleTable {
    width: 100%;
    border-collapse: collapse;
    display: none;
    margin-top: 1em;
    background: #fff;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
}
#simpleTable th, #simpleTable td {
    border: 1px solid #ddd;
    padding: 0.5em;
    text-align: left;
}
#simpleTable th { background: var(--primary); color: #fff; }
