﻿/* Video Upload View Styles */
.video-upload-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
}

.video-preview-container {
    background: #000;
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    width: 100%;
}

.video-preview-container video {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    max-width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

/* Recording Indicator */
.recording-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 20;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: #e71d36;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(231, 29, 54, 0.7);
    animation: pulse-dot 1.25s infinite;
}

.recording-text { font-size: 0.75rem; }

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(231, 29, 54, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 29, 54, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 29, 54, 0); }
}

.video-controls {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.upload-form-container {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.upload-form-container .form-control {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.upload-form-container .form-control:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.2rem rgba(63, 120, 224, 0.25);
}

.upload-status {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

/* Feedback Form Styles */
.feedback-container {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 1rem;

/* Circle Dropdown Styles */
.dropdown-menu {
    z-index: 1050 !important;
    min-width: 160px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff !important;
    display: none;
}

.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    color: #495057 !important;
    text-decoration: none;
    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    text-decoration: none;
}

.dropdown-item.text-danger {
    color: #dc3545 !important;
}

.dropdown-item.text-danger:hover {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}

.dropdown-divider {
    margin: 0.25rem 0;
    border-top: 1px solid #dee2e6;
    height: 0;
    overflow: hidden;
}

/* Force dropdown positioning */
.dropdown-menu[data-popper-placement] {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    margin-top: 0.125rem !important;
}
    border: 2px solid #e9ecef;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 2rem;
}

.feedback-header {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    color: #fff;
    padding: 1.5rem;
    position: relative;
}

.feedback-header h4 { color: #fff; }

.feedback-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin-left: 0.5rem;
}

.feedback-help-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

.feedback-body {
    padding: 2rem;
}

.feedback-textarea {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.feedback-textarea:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.2rem rgba(63, 120, 224, 0.25);
    outline: none;
}

.feedback-submit-btn {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.3);
    color: #fff !important;
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(63, 120, 224, 0.4);
}

.feedback-submit-btn:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
    color: #fff !important;
}

/* Video Review Poster Size */
#vrPoster { width: 250px; height: auto; }

/* Help Modal Styles */
.help-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.help-modal.show {
    opacity: 1;
    visibility: visible;
}

.help-modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: all 0.3s ease;
}

.help-modal.show .help-modal-content {
    transform: scale(1);
}

.help-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.help-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
}

.help-modal-close:hover {
    color: #343f52;
}

.help-modal-body {
    line-height: 1.6;
    color: #60697b;
}

.help-modal-body strong {
    color: #343f52;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-upload-container { margin: 1rem; }
    .feedback-container { margin: 1rem; }
    .help-modal-content { width: 95%; padding: 1.5rem; }
    .feedback-header { padding: 1rem; }
    .feedback-help-icon { width: 1.75rem; height: 1.75rem; font-size: 0.875rem; }
}

/* Loading States */
.upload-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    backdrop-filter: blur(5px);
}

.upload-loading .spinner-border { width: 3rem; height: 3rem; color: #3f78e0; }

/* Success/Error States */
.feedback-success {
    background: linear-gradient(135deg, #45c4a0 0%, #7cb798 100%);
    color: white;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.feedback-error {
    background: linear-gradient(135deg, #e2626b 0%, #d16b86 100%);
    color: white;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Play overlay helpers for Item view (optional enhancements) */
.poster-thumb img { transition: transform .2s ease; }
.poster-thumb:hover img { transform: scale(1.02); }

/* Story Page Styles */
.story-image-placeholder {
    border: 2px dashed #dee2e6;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%), 
                linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.3;
    pointer-events: none;
}

.story-image-placeholder:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.story-image-placeholder i {
    transition: transform 0.3s ease;
}

.story-image-placeholder:hover i {
    transform: scale(1.1);
}

/* Enhanced section backgrounds */
.wrapper.bg-soft-primary {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
}

/* Typography enhancements for story content */
.story-content p {
    line-height: 1.8;
    color: #60697b;
}

.story-content .lead {
    color: #343f52;
    font-weight: 400;
}

/* Icon styling for feature cards */
.story-feature-icon {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.25);
    transition: all 0.3s ease;
}

.story-feature-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(63, 120, 224, 0.35);
}

.story-feature-icon i {
    color: white;
    font-size: 1.5rem;
}

/* Responsive adjustments for story page */
@media (max-width: 768px) {
    .story-image-placeholder {
        min-height: 250px !important;
    }
    
    .story-image-placeholder p {
        font-size: 0.875rem;
    }
    
    .display-1, .display-3, .display-4 {
        font-size: calc(1.375rem + 1.5vw) !important;
    }
}

/* Upload Mode Selector Styles */
.upload-mode-option {
    transition: all 0.3s ease;
}

.upload-mode-option label {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 140px;
    border-radius: 0.75rem;
}

.upload-mode-option label:hover {
    border-color: #3f78e0;
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.15);
}

.upload-mode-option input[type="radio"]:checked + label {
    border-color: #3f78e0;
    background: linear-gradient(135deg, #3f78e0 0%, #2d5aa0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.25);
}

.upload-mode-option input[type="radio"]:checked + label i {
    color: white;
}

.upload-mode-option input[type="radio"]:checked + label small {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* File Upload Container Styles */
.file-upload-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
}

.file-upload-container .card {
    border: none;
    background: transparent;
}

.file-upload-container .form-control {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}

.file-upload-container .form-control:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.2rem rgba(63, 120, 224, 0.25);
}

#filePreview {
    background: #000;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

#fileVideoPreview {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    max-width: 100%;
    display: block;
}

/* Responsive adjustments for upload mode selector */
@media (max-width: 768px) {
    .upload-mode-option label {
        min-height: 120px;
        padding: 1rem !important;
    }
    
    .upload-mode-option label i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .upload-mode-option label span {
        font-size: 0.875rem;
    }
    
    .upload-mode-option label small {
        font-size: 0.75rem;
    }
}

/* Your Story Page Custom Styles */
.story-content-section {
    padding: 2rem 0;
}

.story-text-content {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.story-text-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}

.story-text-content h2 {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.story-text-content .lead {
    color: #60697b;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

.story-text-content p {
    color: #60697b;
    line-height: 1.7;
    font-size: 1rem;
}

.story-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(63, 120, 224, 0.05);
    border-radius: 0.75rem;
    border-left: 4px solid #3f78e0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(63, 120, 224, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.feature-item span {
    font-weight: 600;
    color: #343f52;
    font-size: 0.95rem;
}

.story-image-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.story-image-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
}

.story-image-container img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.story-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 120, 224, 0.1) 0%, rgba(94, 185, 240, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.story-image-container:hover::before {
    opacity: 1;
}

.story-cta-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(63, 120, 224, 0.1);
    margin-top: 3rem;
}

.story-cta-section h2 {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.story-cta-section .lead {
    color: #60697b;
    font-size: 1.2rem;
    line-height: 1.8;
}

.story-cta-section .btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.story-cta-section .btn:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(63, 120, 224, 0.3);
}

/* Animation enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-text-content,
.story-image-container {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive design for story content */
@media (max-width: 992px) {
    .story-text-content {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .story-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .feature-item {
        flex: 1;
        min-width: 200px;
    }
    
    .story-cta-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .story-text-content h2 {
        font-size: 1.75rem;
    }
    
    .story-text-content .lead {
        font-size: 1rem;
    }
    
    .story-features {
        flex-direction: column;
    }
    
    .feature-item {
        min-width: auto;
    }
    
    .story-cta-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .story-cta-section .d-flex {
        flex-direction: column;
    }
}

/* Enhanced hover effects */
.story-content-section .row:hover .story-text-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
}

/* Loading animation for images */
.story-image-container img {
    opacity: 0;
    animation: imageLoad 0.6s ease-out forwards;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* HeartLink Member List Styles */
.member-avatar {
    transition: transform 0.2s ease-in-out;
    border: 2px solid #e9ecef;
}

.member-avatar:hover {
    transform: scale(1.1);
    border-color: #0d6efd;
}

.member-avatar-placeholder {
    transition: all 0.2s ease-in-out;
    border: 2px solid #e9ecef;
}

.member-avatar-placeholder:hover {
    background-color: #495057 !important;
    border-color: #0d6efd;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.card-header.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

.card-header.bg-primary h2,
.card-header.bg-primary .h3 {
    color: white !important;
}

.btn-outline-primary:hover {
    background-color: var(--bs-pale-blue) !important;
    border-color: var(--bs-pale-blue) !important;
    color: #0d6efd !important;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/* HeartLink Member Form Styles */
.form-control-plaintext {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
}

.form-control-plaintext:empty::before {
    content: "N/A";
    color: #6c757d;
    font-style: italic;
}

.form-label.fw-semibold {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.btn-group .btn {
    margin-left: 0.25rem;
}

.btn-group .btn:first-child {
    margin-left: 0;
}

/* HeartLink Member header button group spacing */
.card-header .btn-group .btn {
    margin-left: 0.125rem;
    margin-right: 0.125rem;
}

.card-header .btn-group .btn:first-child {
    margin-left: 0;
}

.card-header .btn-group .btn:last-child {
    margin-right: 0;
}

/* Form validation animations */
.form-control.is-invalid,
.form-select.is-invalid {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Button hover effects - remove position shifts */
.btn:hover {
    transform: none !important;
}

/* Outline button hover effects */
.btn-outline-light:hover {
    background-color: var(--bs-pale-blue) !important;
    border-color: var(--bs-pale-blue) !important;
    color: #0d6efd !important;
}

/* Loading state styles */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn .uil-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Fix for Works.cshtml circular icon buttons */
.btn.btn-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.2rem !important;
    height: 2.2rem !important;
    border-radius: 50% !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
    flex-shrink: 0 !important;
}

/* Comprehensive fix for poster play button bouncing hover effect */
#posterPlay,
#posterPlay:hover,
#posterPlay *,
#posterPlay:hover *,
#posterPlay .btn-play,
#posterPlay .btn-play:hover,
#posterPlay:hover .btn-play,
#posterPlay .btn-circle,
#posterPlay .btn-circle:hover,
#posterPlay .translate-middle,
#posterPlay .translate-middle:hover,
#posterPlay .position-absolute,
#posterPlay .position-absolute:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    box-shadow: none !important;
}

/* Specific fix for the translate-middle class that's causing the bounce */
#posterPlay .btn-play.translate-middle {
    transform: translate(-50%, -50%) !important;
}

#posterPlay:hover .btn-play.translate-middle {
    transform: translate(-50%, -50%) !important;
}

/* Override any Bootstrap button hover effects */
#posterPlay .btn:hover,
#posterPlay .btn-white:hover,
#posterPlay .btn-circle:hover {
    transform: translate(-50%, -50%) !important;
    transition: none !important;
    animation: none !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Additional comprehensive override for all possible Bootstrap classes */
#posterPlay .d-inline-block:hover,
#posterPlay .position-relative:hover,
#posterPlay .shadow:hover {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Ensure the main poster image doesn't move */
#posterPlay #mainPoster,
#posterPlay:hover #mainPoster {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Ultimate fix - override everything for the poster play area */
#posterPlay,
#posterPlay:active,
#posterPlay:focus,
#posterPlay:visited,
#posterPlay:hover,
#posterPlay:focus-visible,
#posterPlay *,
#posterPlay *:hover,
#posterPlay *:active,
#posterPlay *:focus {
    transform: none !important;
    transition: none !important;
    animation: none !important;
    transform-origin: center !important;
}

/* But preserve the translate-middle positioning for the play button */
#posterPlay .btn-play.translate-middle,
#posterPlay .btn-play.translate-middle:hover,
#posterPlay .btn-play.translate-middle:active,
#posterPlay .btn-play.translate-middle:focus {
    transform: translate(-50%, -50%) !important;
    transition: none !important;
    animation: none !important;
}

/* Smooth scrolling enhancement for video player */
html {
    scroll-behavior: smooth;
}

/* Video player container highlight when scrolling to it */
#playerContainer {
    transition: box-shadow 0.3s ease-in-out;
}

#playerContainer.scroll-highlight {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
    border-radius: 0.5rem;
}

/* Divider styling for video item page */
.divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 2rem 0;
}

.divider-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #dee2e6 20%, #dee2e6 80%, transparent 100%);
    z-index: 1;
}

.divider-icon i {
    background: #fff;
    padding: 0.5rem;
    border-radius: 50%;
    color: #6c757d;
    font-size: 1.25rem;
    z-index: 2;
    position: relative;
    border: 2px solid #dee2e6;
}

.btn.btn-circle i {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure icons are properly centered and not squashed */
.btn.btn-circle .uil {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* Specific fix for Video Recording and Words icons */
.btn.btn-circle .uil-camera-plus,
.btn.btn-circle .uil-message {
    font-size: 1rem !important;
    line-height: 1 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* HeartLink member list create button styling */
.card-header .btn-success {
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3);
}

.card-header .btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
    box-shadow: 0 3px 6px rgba(25, 135, 84, 0.4);
}

/* Bootbox modal customization */
.bootbox .modal-header {
    background-color: var(--bs-pale-blue);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bootbox .modal-header .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.bootbox .modal-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.bootbox .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.bootbox .btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.bootbox .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bootbox .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.bootbox .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.bootbox .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.bootbox .btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
}

.bootbox .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.bootbox .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Presentation View Styles */
.presentation-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.presentation-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.presentation-picture-thumbnail:hover .position-absolute {
    opacity: 1;
}

.presentation-picture-thumbnail .position-absolute {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.presentation-slideshow-modal .modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.presentation-slideshow-modal .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.presentation-modal-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.presentation-slideshow-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.presentation-slideshow-nav-btn {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.presentation-slideshow-play-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Comment Submission Form Styles */
.comment-form-container {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.comment-form-container:hover {
    box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.comment-form-header {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    color: #fff;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.comment-form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 15s infinite linear;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.comment-form-header h3 {
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.comment-form-header p {
    position: relative;
    z-index: 1;
}

.comment-form-body {
    padding: 2.5rem;
    background: #fff;
}

.comment-textarea {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 140px;
}

.comment-textarea:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.25rem rgba(63, 120, 224, 0.25);
    outline: none;
    transform: translateY(-2px);
}

.comment-textarea:hover {
    border-color: #adb5bd;
}

.comment-form-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.comment-form-body .form-control:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.25rem rgba(63, 120, 224, 0.25);
    outline: none;
}

.comment-form-body .form-control:hover {
    border-color: #adb5bd;
}

.comment-form-body .form-label {
    color: #343f52;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.comment-form-body .form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.375rem;
}

.comment-submit-btn {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 0.875rem 2.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.375rem 1rem rgba(63, 120, 224, 0.35);
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comment-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.625rem 1.5rem rgba(63, 120, 224, 0.45);
    background: linear-gradient(135deg, #2d5aa0 0%, #3f78e0 100%);
}

.comment-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.4);
}

.comment-submit-btn:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    transform: none;
    box-shadow: none;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.comment-submit-btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert styling for comment form */
#commentAlert {
    border-radius: 0.75rem;
    border: 2px solid #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

#commentAlert i {
    font-size: 1.25rem;
    vertical-align: middle;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for comment form */
@media (max-width: 768px) {
    .comment-form-header {
        padding: 1.5rem;
    }
    
    .comment-form-header h3 {
        font-size: 1.5rem;
    }
    
    .comment-form-body {
        padding: 1.5rem;
    }
    
    .comment-submit-btn {
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .comment-form-container {
        margin: 0 0.5rem;
    }
}

@media (max-width: 576px) {
    .comment-form-header {
        padding: 1.25rem;
    }
    
    .comment-form-header h3 {
        font-size: 1.25rem;
    }
    
    .comment-form-header p {
        font-size: 0.875rem;
    }
    
    .comment-form-body {
        padding: 1.25rem;
    }
    
    .comment-textarea {
        min-height: 120px;
        font-size: 0.9rem;
    }
}

/* Success state animation */
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.comment-form-container.success {
    animation: successPulse 0.6s ease-in-out;
    border-color: #45c4a0;
}

/* Focus within container enhancement */
.comment-form-container:focus-within {
    box-shadow: 0 1rem 3rem rgba(63, 120, 224, 0.2);
}

/* Toastr custom positioning for comment form */
#toast-container.toast-top-right {
    top: 6rem;
    right: 1.5rem;
}

/* Enhanced form field icons (if you want to add icon support) */
.form-field-with-icon {
    position: relative;
}

.form-field-with-icon .form-control {
    padding-left: 2.75rem;
}

.form-field-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
}

/* Feedback Modal Styles */
.feedback-trigger-container {
    margin: 2rem 0;
    text-align: center;
}

.feedback-trigger-btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.2);
}

.feedback-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1.25rem rgba(63, 120, 224, 0.3);
}

.feedback-modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.feedback-modal-header {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    border-bottom: none;
    position: relative;
}

.feedback-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 15s infinite linear;
}

.feedback-modal-header .modal-title {
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feedback-modal-header .btn-close-white {
    position: relative;
    z-index: 1;
}

.feedback-modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.feedback-intro-message {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(63, 120, 224, 0.05) 0%, rgba(94, 185, 240, 0.05) 100%);
    border-radius: 0.75rem;
    border-left: 4px solid #3f78e0;
}

.feedback-intro-icon {
    flex-shrink: 0;
}

.feedback-intro-icon i {
    font-size: 1.75rem;
    color: #3f78e0;
}

.feedback-intro-message p {
    color: #343f52;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.feedback-modal-textarea {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 140px;
}

.feedback-modal-textarea:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.25rem rgba(63, 120, 224, 0.25);
    outline: none;
}

.feedback-modal-textarea:hover {
    border-color: #adb5bd;
}

.feedback-modal-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.feedback-modal-body .form-control:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 0.25rem rgba(63, 120, 224, 0.25);
    outline: none;
}

.feedback-modal-body .form-control:hover {
    border-color: #adb5bd;
}

.feedback-modal-body .form-label {
    color: #343f52;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.feedback-modal-body .form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.375rem;
}

.feedback-modal-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid #e9ecef;
    background: #fff;
}

.feedback-modal-submit-btn {
    background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 100%);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.35);
    color: #fff !important;
}

.feedback-modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(63, 120, 224, 0.45);
    background: linear-gradient(135deg, #2d5aa0 0%, #3f78e0 100%);
}

.feedback-modal-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(63, 120, 224, 0.4);
}

.feedback-modal-submit-btn:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    transform: none;
    box-shadow: none;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.feedback-modal-submit-btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert styling for feedback modal */
#feedbackAlert {
    border-radius: 0.75rem;
    border: 2px solid #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

#feedbackAlert i {
    font-size: 1.25rem;
    vertical-align: middle;
}

/* Responsive adjustments for feedback modal */
@media (max-width: 768px) {
    .feedback-modal-body {
        padding: 1.5rem;
    }
    
    .feedback-modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .feedback-modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .feedback-intro-message {
        flex-direction: column;
        text-align: center;
    }
    
    .feedback-intro-icon {
        display: flex;
        justify-content: center;
    }
    
    .feedback-modal-submit-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .feedback-trigger-btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    
    .feedback-modal-textarea {
        min-height: 120px;
        font-size: 0.9rem;
    }
    
    .feedback-intro-message {
        padding: 1rem;
    }
    
    .feedback-intro-message p {
        font-size: 0.875rem;
    }
}

/* Modal backdrop enhancement */
.modal-backdrop.show {
    opacity: 0.5;
}

/* Smooth modal animations */
.feedback-modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Presentation Navigation Styles */
.presentation-navigation-wrapper {
    padding: 2rem 0;
    margin: 2rem 0;
}

.presentation-navigation-wrapper .process-wrapper.line {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

.presentation-navigation-wrapper .icon.btn-circle {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.presentation-navigation-wrapper .icon.btn-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
}

.presentation-navigation-wrapper .icon.btn-circle.pe-none {
    cursor: default;
}

.presentation-navigation-wrapper .icon.btn-circle.pe-none:hover {
    transform: none;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.presentation-navigation-wrapper .icon.btn-circle .number {
    font-size: 1.5rem;
    font-weight: 700;
}

.presentation-navigation-wrapper .col-auto {
    margin: 0 1rem;
}

.presentation-navigation-wrapper p {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.75rem;
}

/* Responsive adjustments for presentation navigation */
@media (max-width: 768px) {
    .presentation-navigation-wrapper .icon.btn-circle {
        width: 3rem;
        height: 3rem;
    }
    
    .presentation-navigation-wrapper .icon.btn-circle .number {
        font-size: 1.25rem;
    }
    
    .presentation-navigation-wrapper .col-auto {
        margin: 0 0.5rem;
    }
    
    .presentation-navigation-wrapper p {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .presentation-navigation-wrapper .icon.btn-circle {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .presentation-navigation-wrapper .icon.btn-circle .number {
        font-size: 1rem;
    }
    
    .presentation-navigation-wrapper .col-auto {
        margin: 0 0.25rem;
    }
    
    .presentation-navigation-wrapper p {
        font-size: 0.7rem;
    }
}