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

:root {
    --primary-color: #0066FF;
    --secondary-color: #F8F9FA;
    --text-color: #212529;
    --text-secondary: #6C757D;
    --border-color: #DEE2E6;
    --hover-bg: #F1F3F5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 40px;
    width: auto;
}

.app-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.container {
    min-height: calc(100vh - 64px);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px;
}

.hero-section {
    text-align: center;
    margin-bottom: 64px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.hero-section p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.quick-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-large-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.btn-large-primary:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.join-meeting {
    display: flex;
    gap: 12px;
}

.join-meeting input {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    width: 250px;
    transition: all 0.2s;
}

.join-meeting input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-secondary {
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.meetings-section {
    margin-bottom: 64px;
}

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

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #0052CC;
}

.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
}

.meeting-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: all 0.2s;
}

.meeting-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.meeting-time {
    text-align: center;
    padding: 12px;
    background: var(--secondary-color);
    border-radius: 8px;
    min-width: 80px;
}

.meeting-date {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.meeting-hour {
    font-size: 13px;
    color: var(--text-secondary);
}

.meeting-info {
    flex: 1;
}

.meeting-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.meeting-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.meeting-participants {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid white;
}

.participant-count {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.meeting-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-join {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-join:hover {
    background: #0052CC;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.btn-icon:hover {
    background: var(--hover-bg);
    color: var(--text-color);
}

.recent-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s;
}

.recent-item:hover {
    box-shadow: var(--shadow);
}

.recent-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.recent-info {
    flex: 1;
}

.recent-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.recent-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-text:hover {
    background: rgba(0, 102, 255, 0.1);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
}

.modal-content.modal-large {
    max-width: 700px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.close-btn:hover {
    background: var(--hover-bg);
    color: var(--text-color);
}

.modal-body {
    padding: 32px 28px;
}

.modal-body > p {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.meeting-code-display {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.code-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.code-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--hover-bg);
}

.meeting-link {
    display: flex;
    gap: 12px;
}

.meeting-link input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: var(--secondary-color);
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-large {
    padding: 14px 32px;
    font-size: 15px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .quick-actions {
        flex-direction: column;
    }

    .meetings-grid {
        grid-template-columns: 1fr;
    }

    .meeting-card {
        flex-direction: column;
    }

    .meeting-actions {
        flex-direction: row;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}