:root {
    --mc-primary: #2c3e50;
    --mc-secondary: #34495e;
    --mc-accent: #3498db;
    --mc-success: #27ae60;
    --mc-danger: #e74c3c;
    --mc-light: #ecf0f1;
    --mc-dark: #2c3e50;
    --mc-border: #bdc3c7;
    --mc-shadow: rgba(0, 0, 0, 0.1);
}

.mc-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.mc-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px var(--mc-shadow);
    padding: 40px;
    margin-bottom: 20px;
}

.mc-title {
    color: var(--mc-dark);
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

.mc-subtitle {
    color: var(--mc-secondary);
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.mc-form-group {
    margin-bottom: 24px;
}

.mc-form-group label {
    display: block;
    color: var(--mc-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.mc-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mc-light);
    border-radius: 8px;
    font-size: 15px;
    color: var(--mc-dark);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.mc-input:focus {
    outline: none;
    border-color: var(--mc-accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.mc-input:disabled {
    background: var(--mc-light);
    cursor: not-allowed;
}

.mc-input-sm {
    width: auto;
    flex: 1;
}

.mc-btn-primary,
.mc-btn-secondary,
.mc-btn-copy,
.mc-btn-remove {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.mc-btn-primary {
    background: var(--mc-accent);
    color: white;
    width: 100%;
    margin-top: 10px;
}

.mc-btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.mc-btn-secondary {
    background: var(--mc-light);
    color: var(--mc-secondary);
    display: block;
    width: 100%;
    margin-top: 10px;
}

.mc-btn-secondary:hover {
    background: #d5dbdb;
}

.mc-btn-copy {
    background: var(--mc-secondary);
    color: white;
    margin-left: 10px;
    padding: 12px 20px;
}

.mc-btn-copy:hover {
    background: var(--mc-primary);
}

.mc-btn-remove {
    background: var(--mc-danger);
    color: white;
    padding: 8px 16px;
    margin-left: 10px;
    font-size: 18px;
    line-height: 1;
}

.mc-btn-remove:hover {
    background: #c0392b;
}

.mc-slot-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.mc-success {
    background: #d5f4e6;
    border: 2px solid var(--mc-success);
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
}

.mc-success h3 {
    color: var(--mc-success);
    margin: 0 0 16px 0;
    font-size: 20px;
}

.mc-success p {
    color: var(--mc-secondary);
    margin: 0 0 16px 0;
}

.mc-link-box {
    display: flex;
    gap: 0;
}

.mc-link-box .mc-input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.mc-link-box .mc-btn-copy {
    border-radius: 0 8px 8px 0;
    margin-left: 0;
}

.mc-loader {
    text-align: center;
    padding: 40px;
    color: var(--mc-secondary);
    font-size: 16px;
}

.mc-meeting-info {
    background: var(--mc-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.mc-meeting-info h3 {
    margin: 0 0 8px 0;
    color: var(--mc-dark);
    font-size: 22px;
}

.mc-meeting-info p {
    margin: 0 0 12px 0;
    color: var(--mc-secondary);
    line-height: 1.6;
}

.mc-meeting-info .mc-owner {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.mc-participants-counter {
    margin-top: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--mc-light);
}

.mc-counter-text {
    color: var(--mc-secondary);
    font-size: 15px;
    margin-bottom: 12px;
}

.mc-counter-text strong {
    color: var(--mc-accent);
    font-size: 18px;
}

.mc-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--mc-light);
    border-radius: 4px;
    overflow: hidden;
}

.mc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mc-accent), #5dade2);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.mc-voter-form,
.mc-already-voted {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mc-slots-list {
    margin: 30px 0;
}

.mc-slot-item {
    border: 2px solid var(--mc-light);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mc-slot-item:hover {
    border-color: var(--mc-accent);
    background: rgba(52, 152, 219, 0.05);
}

.mc-slot-item.selected {
    border-color: var(--mc-accent);
    background: rgba(52, 152, 219, 0.1);
}

.mc-slot-item.confirmed {
    border-color: var(--mc-success);
    background: #d5f4e6;
    cursor: default;
}

.mc-slot-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    cursor: pointer;
}

.mc-slot-details {
    flex: 1;
}

.mc-slot-datetime {
    color: var(--mc-dark);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mc-slot-votes {
    color: #7f8c8d;
    font-size: 14px;
}

.mc-confirmed-badge {
    background: var(--mc-success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-voter-form {
    background: var(--mc-light);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.mc-voter-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.mc-status-confirmed {
    background: #d5f4e6;
    border: 2px solid var(--mc-success);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.mc-status-confirmed h3 {
    color: var(--mc-success);
    margin: 0 0 12px 0;
    font-size: 20px;
}

.mc-status-confirmed .mc-confirmed-time {
    font-size: 24px;
    font-weight: 600;
    color: var(--mc-dark);
    margin: 8px 0;
}

.mc-voters-list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--mc-border);
    font-size: 14px;
    color: var(--mc-secondary);
}

.mc-already-voted {
    background: #e8f5e9;
    border: 2px solid var(--mc-success);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.mc-already-voted h3 {
    color: var(--mc-success);
    margin: 0 0 16px 0;
    font-size: 22px;
}

.mc-already-voted p {
    color: var(--mc-secondary);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.mc-waiting-text {
    font-style: italic;
    color: #7f8c8d !important;
    font-size: 14px !important;
}

.mc-calendar-info {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.mc-calendar-info p {
    margin: 0 0 16px 0;
    color: var(--mc-secondary);
}

.mc-btn-calendar,
.mc-btn-meet {
    display: inline-block;
    padding: 12px 24px;
    margin: 8px 8px 8px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mc-btn-calendar {
    background: var(--mc-accent);
    color: white;
}

.mc-btn-calendar:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.mc-btn-meet {
    background: var(--mc-success);
    color: white;
}

.mc-btn-meet:hover {
    background: #229954;
    transform: translateY(-2px);
}

.mc-calendar-note {
    font-size: 13px !important;
    color: #7f8c8d !important;
    margin-top: 16px !important;
}

.mc-flash-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.mc-flash-success {
    background: var(--mc-success);
    color: white;
}

.mc-flash-error {
    background: var(--mc-danger);
    color: white;
}

.mc-flash-icon {
    font-size: 20px;
    font-weight: bold;
}

.mc-flash-text {
    font-size: 15px;
}

.mc-slot-votes {
    color: #7f8c8d;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mc-error-box {
    background: #fee;
    border: 2px solid var(--mc-danger);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.mc-error-box h3 {
    color: var(--mc-danger);
    margin: 0 0 16px 0;
    font-size: 20px;
}

.mc-error-box p {
    color: var(--mc-secondary);
    margin: 0;
    line-height: 1.6;
}

.mc-vote-success-message {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 40px;
    animation: scaleIn 0.5s ease;
}

.mc-vote-success-icon {
    width: 64px;
    height: 64px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 24px;
}

.mc-vote-success-message h3 {
    color: #2c3e50;
    font-size: 24px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.mc-vote-success-message p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .mc-card {
        padding: 24px;
    }

    .mc-title {
        font-size: 24px;
    }

    .mc-slot-row {
        flex-direction: column;
        gap: 8px;
    }

    .mc-input-sm {
        width: 100%;
    }

    .mc-btn-remove {
        width: 100%;
        margin-left: 0;
    }

    .mc-link-box {
        flex-direction: column;
    }

    .mc-link-box .mc-input,
    .mc-link-box .mc-btn-copy {
        border-radius: 8px;
        width: 100%;
    }

    .mc-voter-inputs {
        grid-template-columns: 1fr;
    }

    .mc-vote-success-message {
        padding: 32px 20px;
    }

    .mc-vote-success-message h3 {
        font-size: 24px;
    }

    .mc-vote-success-message p {
        font-size: 16px;
    }
}