/* styles.css - Extracted from index.html */

/* General Body and Container Styles - No Changes Needed Here */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    padding: 20px;
    min-height: 150vh; /* Added min-height to ensure scrollability for testing fixed position */
}

.container {
    width: 75vw;
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 2.5rem;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.docker-logo {
    width: 54px;
    height: 54px;
    display: inline-block;
    vertical-align: middle;
    animation: docker-bounce 1.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes docker-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    10% { transform: translateY(-8px) scale(1.05); }
    20% { transform: translateY(-16px) scale(1.1); }
    30% { transform: translateY(-8px) scale(1.05); }
    40% { transform: translateY(0) scale(1); }
    50% { transform: translateY(0) scale(1); }
    60% { transform: translateY(-6px) scale(1.04); }
    70% { transform: translateY(-12px) scale(1.08); }
    80% { transform: translateY(-6px) scale(1.04); }
    90% { transform: translateY(0) scale(1); }
}

.code-container {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    border: 1px solid #3a3a3a;
    padding-top: 40px;
}

.snippet-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f1f1f1;
    font-weight: 600;
}

pre {
    background: #252525;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 15px 0;
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a;
}

.hljs {
    background: #1a1a1a !important;
}

code {
    color: #f8f9fa;
    font-family: 'Fira Code', 'Consolas', monospace;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 8px;
    transition: all 0.2s;
    color: #00B7C3;
    border: none;
    cursor: pointer;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
    color: #00e6f5;
}

.copy-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ✨ NON-GREEN ENHANCED NOTIFICATION STYLES ✨ */
.notification {
    position: fixed !important;
    top: 25px !important;       /* Consistent position */
    right: 25px !important;      /* Consistent position */
    background: rgba(30, 30, 30, 0.9); /* Darker, slightly transparent background */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle white border */
    border-radius: 15px; /* More pronounced rounding */
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.2), /* Softer inner shadow */
        0 15px 40px rgba(0,0,0,0.3); /* Stronger, diffused outer shadow */
    color: #f0f0f0; /* Off-white text for contrast */
    font-family: 'Segoe UI', sans-serif; /* Explicit font family */
    font-size: 1.1rem; /* Optimal text size */
    font-weight: 600; /* Bolder text for impact */
    letter-spacing: 0.02em; /* Subtle letter spacing */
    padding: 18px 25px; /* Adjusted padding */
    display: flex;
    align-items: center;
    gap: 12px; /* Space between icon and text */
    min-width: 280px;
    max-width: 350px; /* Prevent it from getting too wide */
    opacity: 0;
    transform: translateX(120%) scale(0.9); /* Only slide in from right, no vertical movement */
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), /* Faster bounce */
                opacity 0.18s ease-out; /* Faster fade */
    z-index: 9999; /* Ensure it's on top */
    margin: 0 !important; /* Safety reset */
    box-sizing: border-box !important; /* Safety reset */
}

.notification.show {
    opacity: 1;
    transform: translateX(0) scale(1); /* Slide in from right, no vertical movement */
}

.notification.hide {
    opacity: 0;
    transform: translateX(120%) scale(0.9); /* Slide out to right, no vertical movement */
}

.notification i {
    font-size: 1.6rem; /* Good size for icon */
    color: #87CEEB; /* A nice sky blue for the icon - indicates success/info */
    text-shadow: 0 2px 5px rgba(0,0,0,0.2); /* More prominent icon shadow */
}

.notification.progress {
    position: relative;
    overflow: hidden; 
}

.notification.progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 7px; /* Slightly thicker progress bar */
    background: linear-gradient(to right, rgba(135, 206, 235, 0.7), rgba(135, 206, 235, 0.9)); /* Blue gradient for progress bar */
    width: 100%;
    border-bottom-left-radius: 15px; /* Match notification border radius */
    border-bottom-right-radius: 15px;
    animation: progress 0.8s linear forwards; /* Faster progress bar */
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0%; }
}

.project-structure-box {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 22px 24px 18px 24px;
    margin-bottom: 28px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.project-structure-box .snippet-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #f1f1f1;
    font-weight: 600;
}

.project-structure {
    background: #1a1a1a !important;
    margin: 0;
    padding: 0;
    border: none;
}

.project-structure code {
    color: #f8f9fa;
    font-family: 'Fira Code', 'Consolas', monospace;
}
