/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Basier Circle", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f4f4;
    color: #2f2f2f;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    padding: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 8px;
}

.description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 800px;
}

/* Enrollment Link Section */
.enrollment-link-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 8px;
}

.link-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.link-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.invite-link {
    flex: 1;
    color: #f78817;
    text-decoration: none;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
}

.invite-link:hover {
    text-decoration: underline;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #2f2f2f;
    transition: all 0.2s;
}

.copy-button:hover {
    background-color: #f5f5f5;
    border-color: #d0d0d0;
}

.copy-button.copied {
    background-color: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.copy-button i {
    font-size: 20px;
}

.summary-text {
    font-size: 16px;
    color: #2f2f2f;
    margin: 24px 0;
}

.summary-text strong {
    color: #f78817;
    font-weight: 600;
}

/* Teacher Table Styles */
.teachers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.teachers-table th,
.teachers-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.teachers-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #2f2f2f;
}

.teachers-table tr:last-child td {
    border-bottom: none;
}

.teachers-table tr:hover {
    background-color: #f9f9f9;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.status-badge.pending {
    background-color: #fff3e0;
    color: #e67a00;
}

.status-badge.completed {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Three-dot menu styles */
.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
    border-radius: 4px;
}

.menu-button:hover {
    background-color: #f5f5f5;
}

.menu-button i {
    font-size: 20px;
}

.menu-dropdown {
    position: fixed;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 160px;
    z-index: 1000;
    display: none;
}

.menu-dropdown.show {
    display: block;
}

.table-menu-item {
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2f2f2f;
    text-decoration: none;
}

.table-menu-item:hover {
    background-color: #f5f5f5;
}

.table-menu-item.delete {
    color: #d32f2f;
}

.table-menu-item i {
    font-size: 18px;
}

.table-menu-container {
    position: relative;
}

/* Executive checkbox styles */
.executive-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #f78817;
}

.executive-checkbox:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}