body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #77aaff 3px solid;
}
header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
header ul {
    padding: 0;
    list-style: none;
}
header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}
header #branding {
    float: left;
}
header #branding h1 {
    margin: 0;
}
header nav {
    float: right;
    margin-top: 10px;
}
.form-container {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border: #ccc 1px solid;
    border-radius: 5px;
}
.form-container h1 {
    margin-top: 0;
}
.form-container label {
    display: block;
    margin: 10px 0 5px;
}
.form-container input, .form-container select, .form-container button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}
.form-container button {
    background: #333;
    color: #fff;
    border: 0;
    cursor: pointer;
}
.form-container button:hover {
    background: #555;
}
.conference-list, .user-list {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border: #ccc 1px solid;
    border-radius: 5px;
}
.conference-list h2, .user-list h2 {
    margin-top: 0;
}
.conference-list ul, .user-list ul {
    list-style: none;
    padding: 0;
}
.conference-list li, .user-list li {
    background: #f4f4f4;
    margin: 5px 0;
    padding: 10px;
    border: #ccc 1px solid;
    border-radius: 5px;
}

/* Add these styles for the new navigation structure */

.primary-nav {
    display: flex;
    margin-top: 20px;
    background: #333;
    border-radius: 5px 5px 0 0;
}

.primary-tab {
    background: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

.primary-tab:hover {
    background: #444;
}

.primary-tab.active {
    background: #77aaff;
    font-weight: bold;
}

.secondary-nav {
    display: flex;
    flex-wrap: wrap;
    background: #f1f1f1;
    border-bottom: 1px solid #ddd;
}

.secondary-tab {
    background: #f1f1f1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.secondary-tab:hover {
    background: #ddd;
}

.secondary-tab.active {
    background: white;
    border-bottom: 3px solid #77aaff;
    font-weight: bold;
}

.main-section {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    background: white;
}

.main-section.active {
    display: block;
}

.secondary-content {
    min-height: 400px;
}

.tabcontent {
    display: none;
    padding: 20px;
}

.tabcontent.active {
    display: block;
}

/* Update your existing styles to match the new structure */

.tab {
    display: none; /* Hide old tab navigation */
}

.active-calls {
    padding: 20px;
}

.active-calls h1 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #77aaff;
    padding-bottom: 10px;
}

/* Notification styles */
.notification {
    display: none;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border-radius: 5px;
}

.conference-entry {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conference-entry h2 {
    color: #333;
    margin-top: 0;
    border-bottom: 2px solid #77aaff;
    padding-bottom: 10px;
}

.conference-entry h3 {
    margin: 20px 0 10px;
    color: #555;
}

.users-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.user-entry {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-left: 4px solid #77aaff;
    padding: 15px;
    width: calc(50% - 20px);
    box-sizing: border-box;
    border-radius: 5px;
}

.user-entry p {
    margin: 5px 0;
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

.active-calls {
    padding: 20px;
}

.actions {
    margin-bottom: 20px;
}

.action-button {
    background-color: #4c8bf5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #3b78e7;
}

.conference-calls {
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.calls-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.call-entry {
    background: #f5f5f5;
    border: 1px solid #eee;
    border-left: 4px solid #4c8bf5;
    padding: 15px;
    width: calc(50% - 20px);
    box-sizing: border-box;
    border-radius: 5px;
    position: relative;
}

.call-entry p {
    margin: 5px 0;
}

.call-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.mute-btn, .unmute-btn, .kick-btn {
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
}

.mute-btn {
    background-color: #ffd700;
    color: #333;
}

.unmute-btn {
    background-color: #90ee90;
    color: #333;
}

.kick-btn {
    background-color: #ff6b6b;
    color: white;
}

.mute-btn:hover {
    background-color: #e6c200;
}

.unmute-btn:hover {
    background-color: #7bd47b;
}

.kick-btn:hover {
    background-color: #ff4d4d;
}

@media (max-width: 768px) {
    .users-container {
        flex-direction: column;
    }
    .user-entry {
        width: 100%;
    }
    .calls-container {
        flex-direction: column;
    }
    .call-entry {
        width: 100%;
    }
}

/* Server Logs Section */
.server-logs {
    padding: 20px;
    background-color: #f9f9f9; /* Light background for the section */
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 20px;
}

.server-logs h1 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.server-logs .actions {
    margin-bottom: 15px;
    text-align: right;
}

.log-content {
    background-color: #2d2d2d; /* Dark background for log area */
    color: #cccccc; /* Light grey text */
    padding: 15px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace; /* Monospaced font */
    font-size: 0.9em;
    white-space: pre-wrap; /* Wrap long lines */
    word-wrap: break-word; /* Break words if necessary */
    max-height: 600px; /* Limit height and make scrollable */
    overflow-y: auto; /* Add vertical scrollbar */
    border: 1px solid #444; /* Subtle border */
}

/* Style for the refresh button if needed */
.action-button {
    padding: 8px 15px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.action-button:hover {
    background-color: #4cae4c;
}

/* Ensure main sections are hidden by default unless active */
.main-section {
    display: none; /* Hide sections by default */
}

.main-section.active {
    display: block; /* Show only the active section */
}