/* Base Styles */
body {
    background-color: #1a1a1a;
    color: #d4c0a1;
    font-family: 'Verdana', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #2b2b2b;
    padding: 30px;
    border: 2px solid #5f4d41;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Typography */
h1 {
    color: #cd9f6b;
    text-align: center;
    text-shadow: 2px 2px 2px #000;
    margin: 0;
}

.section-title {
    color: #8b9dc3;
    text-align: center;
    text-shadow: 2px 2px 2px #000;
    margin-bottom: 25px;
}

.section-subtitle {
    color: #7fbf7f;
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 1px #000;
}

/* Menu Styles */
.menu {
    background-color: #1a1a1a;
    border-bottom: 2px solid #5f4d41;
    padding: 10px 0;
    margin-bottom: 20px;
}

.menu-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    flex: 0 0 auto;
    margin-right: 20px;
}

.logo a {
    display: block;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    max-height: 80px;
    width: auto;
}

.menu-title {
    flex: 1;
    text-align: center;
}

.menu-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu-link {
    color: #cd9f6b;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid #5f4d41;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2b2b2b, #3b3b3b);
}

.menu-link:hover {
    background: linear-gradient(135deg, #cd9f6b, #e6b583);
    color: #1a1a1a;
    border-color: #cd9f6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 159, 107, 0.3);
}

.menu-link.active {
    background: linear-gradient(135deg, #cd9f6b, #e6b583);
    color: #1a1a1a;
    border-color: #cd9f6b;
    box-shadow: 0 2px 10px rgba(205, 159, 107, 0.3);
}

/* Form Elements */
.input-form {
    background-color: #3b3b3b;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

input {
    background-color: #1a1a1a;
    border: 1px solid #5f4d41;
    color: #d4c0a1;
    padding: 8px;
    margin: 5px;
    width: 200px;
}

button {
    background-color: #cd9f6b;
    color: #1a1a1a;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #e6b583;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #5f4d41;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #3b3b3b;
    color: #cd9f6b;
}

/* Code Block Styles */
.code-block {
    background-color: #1a1a1a;
    border: 1px solid #5f4d41;
    border-radius: 5px;
    margin: 20px 0;
    overflow: hidden;
}

.code-header {
    background-color: #2b2b2b;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #5f4d41;
}

.code-header span {
    color: #7fbf7f;
    font-weight: bold;
}

.copy-button {
    background-color: #3b3b3b;
    color: #d4c0a1;
    border: 1px solid #5f4d41;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background-color: #4b4b4b;
    color: #98fb98;
}

.code-block pre {
    margin: 0;
    padding: 15px;
    white-space: pre-wrap;
}

.code-block code {
    color: #98fb98;
    font-family: 'Consolas', 'Monaco', monospace;
}

/* List Styles */
ul {
    list-style-type: disc;
    margin-left: 20px;
}

ul ul {
    list-style-type: circle;
    margin-left: 20px;
}

/* Custom Elements */
#rdp_ip, #rdp_porta, #vnc_address {
    color: #98fb98;
    font-weight: bold;
}

.custom-ports-message {
    background-color: #2b2b2b;
    border-left: 4px solid #7fbf7f;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.custom-ports-message p {
    margin: 0;
    display: flex;
    align-items: center;
    color: #d4c0a1;
}

.info-icon {
    margin-right: 10px;
    font-style: normal;
}

/* FAQ Styles */
.faq-section {
    margin-top: 40px;
    border-top: 2px solid #5f4d41;
    padding-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    background-color: #3b3b3b;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #cd9f6b;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #4b4b4b;
}

.faq-icon {
    margin-right: 10px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: #2b2b2b;
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Download Button Styles */
.download-button {
    display: inline-flex;
    align-items: center;
    background-color: #3b3b3b;
    color: #d4c0a1;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #4b4b4b;
}

.download-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

.download-info {
    color: #7fbf7f;
    font-size: 0.9em;
    margin-top: 5px;
    font-style: italic;
}

/* Navigation Server Styles */
.nav-server-example {
    background: #1a1a1a;
    border: 1px solid #3c3c3c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.nav-server-window {
    background: #efebe7;
    border: 2px solid #000;
    padding: 0;
    width: 300px;
    margin: 0 auto;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.nav-title-bar {
    background: linear-gradient(to right, #A52A2A, #8B0000);
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 12px;
}

.close-button {
    background: #ff3b3b;
    color: white;
    border: 1px solid #000;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.nav-content {
    padding: 10px;
}

.nav-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.nav-label {
    width: 60px;
    font-size: 11px;
    color: #000;
}

.nav-input {
    height: 18px;
    border: 1px solid #999;
    font-size: 11px;
    padding: 1px 4px;
    background: #fff;
    color: #000;
    flex: 1;
}

.nav-input.port-input {
    width: 45px;
    margin-left: 4px;
    flex: none;
}

.nav-input[type="password"] {
    font-family: monospace;
}

.nav-checkbox-container {
    margin-top: 12px;
}

.nav-checkbox-group {
    margin-bottom: 8px;
}

.nav-checkbox {
    margin-bottom: 2px;
    font-size: 11px;
    color: #000;
    display: flex;
    align-items: center;
}

.nav-checkbox input[type="checkbox"] {
    margin: 0 4px 0 0;
    width: 13px;
    height: 13px;
}

.nav-checkbox label {
    font-size: 11px;
    line-height: 1;
}

.nav-button-container {
    display: flex;
    justify-content: flex-end;
}

.nav-button {
    width: 80px;
    height: 20px;
    font-size: 11px;
    background-color: #efebe7;
    border: 1px solid #999;
    cursor: pointer;
    color: #000;
    padding: 0;
    margin: 0;
}

.nav-server-info {
    color: #7fbf7f;
    margin: 15px 0;
}

.nav-server-example h4 {
    color: #8b9dc3;
    margin-top: 0;
}

.nav-server-example iframe {
    width: 100%;
    height: 400px;
    margin: 15px 0;
    background: #1c1c1c;
}

.nav-server-info {
    color: #7fbf7f;
    margin: 15px 0;
}

.nav-server-example ul {
    list-style-type: none;
    padding-left: 0;
}

.nav-server-example li {
    margin: 10px 0;
    color: #ccc;
}

.nav-server-example li span {
    color: #7fbf7f;
    font-family: monospace;
}

/* Config Styles */
.config-note {
    color: #ffcc00;
    margin: 20px 0 10px 0;
}

.config-list {
    list-style-type: none;
    padding-left: 20px;
}

.config-list li {
    margin: 10px 0;
    color: #ccc;
}

.config-list li strong {
    color: #8b9dc3;
    font-family: monospace;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    border-bottom: 1px dotted #7fbf7f;
}

.tooltip:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #7fbf7f;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid #3c3c3c;
}

/* Hide Elements */
#explanation {
    display: none;
} 