/*!
* DefconExpanded, Created by...
* KezzaMcFezza - Main Developer
* Nexustini - Server Managment
*
* Notable Mentions...
* Rad - For helping with python scripts.
* Bert_the_turtle - Doing everthing with c++
* 
* Inspired by Sievert and Wan May
* 
* Last Edited 19-09-2025
*/

.dedcon-container {
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
    padding: 0 1rem;
}

.dedcon-header {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    max-width: 450px;
    height: fit-content;
    margin-bottom: 1.5rem;
}

.dedcon-banner {
    position: relative;
    height: 200px;
    background-position: center;
    background-size: cover;
    background-color: rgba(28, 28, 46, 0.5);
    background-image: url('/images/backgroundprofile.png');
}

.dedcon-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 15, 25, 0.8) 100%);
}

.dedcon-info-bar {
    padding: 1rem 1.5rem;
    position: relative;
    background-color: rgba(28, 28, 46, 0.3);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-bottom: 1.5rem;
}

.dedcon-title {
    color: #5eff00;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.3rem;
    margin: 0;
    margin-bottom: 15px;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.recording-sections-title {
    color: #5eff00;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dedcon-description {
    color: #b8b8b8;
    margin: 0.5rem 0 0;
    max-width: 800px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.dedcon-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.dedcon-link {
    background-color: rgba(77, 166, 255, 0.2);
    color: #4da6ff;
    text-decoration: none;
    padding: 0.35rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.dedcon-link:hover {
    background-color: rgba(77, 166, 255, 0.3);
}

.dedcon-content {
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dedcon-card {
    background-color: rgba(28, 28, 46, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.dedcon-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.7;
}

.dedcon-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dedcon-card-header i {
    color: #4da6ff;
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.dedcon-card-title {
    color: #4da6ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.downloads-card::before {
    background: linear-gradient(to right, #3d3d3d, #363636);
}

.beta-card::before {
    background: linear-gradient(to right, #3d3d3d, #363636);
}

.instructions-card::before {
    background: linear-gradient(to right, #3d3d3d, #363636);
}

.about-card::before {
    background: linear-gradient(to right, #3d3d3d, #363636);
}

.recording-card::before {
    background: linear-gradient(to right, #3d3d3d, #363636);
}

.changelogs-card::before {
    background: linear-gradient(to right, #3d3d3d, #363636);
}

.installation-section {
    margin-bottom: 1rem;
}

.dropdown-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: rgba(77, 166, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.dropdown-header:hover {
    background-color: rgba(77, 166, 255, 0.2);
}

.dropdown-header h3 {
    margin: 0 0 0 0.5rem;
    color: #4da6ff;
    font-size: 1.1rem;
    flex-grow: 1;
}

.os-icon {
    width: 16px;
    height: auto;
    object-fit: contain;
}

.dropdown-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}

.arrow {
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.arrow.up {
    transform: rotate(-135deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
}

.dropdown-content.show {
    max-height: 500px;
    padding: 1rem;
    transition: max-height 0.3s ease-in;
}

.dropdown-content p {
    color: #b8b8b8;
    margin: 0;
    line-height: 1.6;
}

.dropdown-content code {
    background-color: rgba(255, 251, 0, 0.1);
    color: #fffb00;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.dedcon-sidebar h3 {
    color: #ff8400;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
}

.dedcon-sidebar p {
    color: #b8b8b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.changelog-container {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 1rem;
}

.changelog-container::-webkit-scrollbar {
    width: 8px;
}

.changelog-container::-webkit-scrollbar-track {
    background: rgba(28, 28, 46, 0.2);
    border-radius: 4px;
}

.changelog-container::-webkit-scrollbar-thumb {
    background: rgba(77, 166, 255, 0.5);
    border-radius: 4px;
}

.changelog-item {
    background-color: rgba(28, 28, 46, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #4da6ff;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.changelog-version {
    color: #fffb00;
    font-size: 1.1rem;
    margin: 0;
}

.changelog-date {
    color: #4da6ff;
    font-size: 0.9rem;
}

.changelog-content ul {
    margin: 0;
    padding-left: 1.5rem;
}

.dedcon-build-container .version-history-table,
.dedcon-beta-container .version-history-table,
.sync-practice-build-container .version-history-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(81, 85, 48, 0.055);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dedcon-build-container .version-history-table thead,
.dedcon-beta-container .version-history-table thead,
.sync-practice-build-container .version-history-table thead {
    background-color: rgba(0, 0, 0, 0.2);
}

.dedcon-build-container .version-history-table th,
.dedcon-beta-container .version-history-table th,
.sync-practice-build-container .version-history-table th {
    padding: 12px 16px;
    text-align: left;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(77, 166, 255, 0.3);
}

.dedcon-build-container .version-history-table td,
.dedcon-beta-container .version-history-table td,
.sync-practice-build-container .version-history-table td {
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #b8b8b8;
    background-color: transparent;
}

.dedcon-build-container .version-history-table .platform-cell,
.dedcon-beta-container .version-history-table .platform-cell,
.sync-practice-build-container .version-history-table .platform-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
}

.dedcon-build-container .version-history-table .td2,
.dedcon-beta-container .version-history-table .td2,
.sync-practice-build-container .version-history-table .td2 {
    color: #fffb00;
    font-weight: 500;
}

.dedcon-build-container .btn-download,
.dedcon-beta-container .btn-download,
.sync-practice-build-container .btn-download {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    border: 0;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    background-color: #0067b8;
    color: #fff;
}

.dedcon-build-container .btn-download:hover,
.dedcon-beta-container .btn-download:hover,
.sync-practice-build-container .btn-download:hover {
    background-color: #1a86d4;
}

.dedcon-beta-container .version-history-table td.td2 {
    color: #ff8400;
}

.dedcon-beta-container .btn-download {
    background-color: #ff8400;
}

.dedcon-beta-container .btn-download:hover {
    background-color: #ff9a2f;
}

.dedcon-beta-container.scrollable {
    max-height: 600px;
    overflow-y: auto;
}

.dedcon-beta-container.scrollable::-webkit-scrollbar {
    width: 8px;
}

.dedcon-beta-container.scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.dedcon-beta-container.scrollable::-webkit-scrollbar-thumb {
    background: rgba(77, 166, 255, 0.5);
    border-radius: 4px;
}

.dedcon-beta-container.scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(77, 166, 255, 0.7);
}

.dedcon-accordion {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(28, 28, 46, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dedcon-accordion-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: rgba(77, 166, 255, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dedcon-accordion-header h3 {
    margin: 0 0 0 12px;
    color: #4da6ff;
    font-size: 1.1rem;
    flex-grow: 1;
}

.dedcon-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.dedcon-logo.windows {
    width: 28px;
}

.dedcon-logo.linux {
    width: 24px;
}

.dedcon-logo.macos {
    width: 24px;
}

.dedcon-toggle-icon {
    font-size: 22px;
    color: #4da6ff;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.dedcon-accordion-header.active .dedcon-toggle-icon {
    color: #ffffff;
}

.dedcon-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(28, 28, 46, 0.1);
    padding: 0 16px;
}

.dedcon-accordion-content p {
    margin: 16px 0;
}
