* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.logo h1 {
    color: #4a9eff;
    font-size: 24px;
}

.usage-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.chart-legend {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-item.submitted::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 2px;
}

.legend-item.remaining::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #4a9eff;
    border-radius: 2px;
}

.pie-chart {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #ff4444 0% var(--submitted-percent, 0%),
        #4a9eff var(--submitted-percent, 0%) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chart-text {
    text-align: center;
    font-size: 12px;
    color: #ffffff;
}

.add-names-link {
    color: #4ade80;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
}

.add-names-link:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Left Panel */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.meetings-section,
.scheduled-section {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    color: #4a9eff;
    font-size: 18px;
}

.btn-download {
    background: #4a9eff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-download:hover {
    background: #3a8eef;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

thead {
    background: #1a1a1a;
}

th {
    padding: 10px;
    text-align: left;
    color: #4a9eff;
    font-weight: 600;
    border-bottom: 2px solid #4a9eff;
}

td {
    padding: 10px;
    border-bottom: 1px solid #3a3a3a;
}

.no-data {
    text-align: center;
    color: #888;
    padding: 20px;
}

.btn-action {
    background: #ff4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
}

.btn-action:hover {
    background: #cc3333;
}

/* Right Panel - Form */
.right-panel {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.meeting-form h3 {
    color: #4a9eff;
    margin-bottom: 20px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-size: 13px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a9eff;
}

.error-message {
    color: #ff4444;
    font-size: 11px;
    display: block;
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-submit {
    flex: 1;
    background: #4a9eff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-submit:hover {
    background: #3a8eef;
}

.btn-cancel {
    flex: 1;
    background: #ff4444;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-cancel:hover {
    background: #cc3333;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: #2a2a2a;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

