/****************************************************************


	Any styles specific to this module are added here.


	These override the default settings in the common file.


****************************************************************/

/* Hide Jira "Enter Bug" button for demo */
.atlwdg-trigger {
    display: none !important;
}

/* Conclusion Video Demo Buttons */
.conclusion-demo-buttons {
    margin-top: 25px;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.conclusion-demo-buttons h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.demo-button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-video-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.demo-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.demo-video-btn:active {
    transform: translateY(0);
}

.demo-video-btn.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Different colors for each performance level */
.demo-video-btn[data-level="Best"] {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.demo-video-btn[data-level="Good"] {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.demo-video-btn[data-level="OK"] {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.demo-video-btn[data-level="Fail"] {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

/* Video Style Selector Button */
.video-style-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.video-style-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Video Style Selector Modal */
.video-style-selector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 500px;
    max-width: 90vw;
}

.video-style-selector .header {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.video-style-selector .close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
}

.video-style-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.video-style-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-style-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.video-style-option.selected {
    background: #667eea;
    color: white;
    border-color: #5a6fd8;
}

.video-style-option .icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.video-style-option .name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.video-style-option .description {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

.apply-style-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-style-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.apply-style-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Style change notification */
.style-change-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Custom Fullscreen Video Overlay (No ESC Message) */
.custom-fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.custom-fullscreen-overlay.active {
    display: flex;
}

.custom-fullscreen-video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.custom-fullscreen-video {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.custom-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}