/* Meeting Invitation Styles */

.meeting-invitation {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.95), 
        rgba(31, 41, 55, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.invitation-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.invitation-methods {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .invitation-methods {
        grid-template-columns: 1fr 1fr;
    }
}

.web-join-section,
.phone-join-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.qr-code {
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1/1;
}

.qr-code img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.url-input {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.url-input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.phone-info {
    text-align: center;
}

.copy-btn,
.share-email,
.share-copy {
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.copy-btn:hover,
.share-email:hover,
.share-copy:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.copy-btn:active,
.share-email:active,
.share-copy:active {
    transform: translateY(0);
}

.share-section {
    margin-top: 1.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Modal Styles */
.invitation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

.invitation-modal-content {
    background: #111827;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 64rem;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.close-modal {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #F3F4F6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Success Notification */
.notification-success {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Button States */
.create-meeting-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* NeutralAiz Design System Integration */
.nz-button-success {
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    border: none;
}

.nz-button-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #047857, #059669);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .meeting-invitation {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.95), 
            rgba(17, 24, 39, 0.95));
    }
}