/**
 * Event Actions CSS
 * Styles for share modal and event action buttons
 *
 * @package Twickenham_YC
 * @since 1.0.0
 */

/* Share Modal Overlay */
.tyc-share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

/* Share Modal */
.tyc-share-modal {
    background-color: hsl(var(--card));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Modal Header */
.tyc-share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
}

.tyc-share-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.tyc-share-modal-close:hover {
    background-color: hsl(var(--muted));
    color: hsl(var(--foreground));
}

/* Modal Body */
.tyc-share-modal-body {
    padding: 1.5rem;
}

/* Share Buttons Container */
.tyc-share-buttons {
    display: grid;
    gap: 0.75rem;
}

/* Individual Share Button */
.tyc-share-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid hsl(var(--border));
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.tyc-share-button:hover {
    background-color: hsl(var(--accent));
    border-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.tyc-share-button svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

/* Facebook Button */
.tyc-share-facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: white;
}

/* Twitter Button */
.tyc-share-twitter:hover {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
}

/* Email Button */
.tyc-share-email:hover {
    background-color: hsl(var(--ocean-blue));
    border-color: hsl(var(--ocean-blue));
    color: white;
}

/* Copy Button */
.tyc-share-copy:hover {
    background-color: hsl(var(--navy));
    border-color: hsl(var(--navy));
    color: white;
}

/* Responsive */
@media (max-width: 640px) {
    .tyc-share-modal {
        margin: 1rem;
    }

    .tyc-share-modal-header,
    .tyc-share-modal-body {
        padding: 1rem;
    }
}
