/* Modal Styles */
.tutorial-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.tutorial-modal.show {
    display: block;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 1400px;
    max-height: 100vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 1.5rem 2rem;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close:hover,
.close:focus {
    background-color: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.video-container {
    margin-bottom: 2rem;
    text-align: center;
}

.video-hint {
    margin-top: 1rem;
    padding: 1rem;
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    border-radius: 0 6px 6px 0;
    text-align: left;
}

.video-hint p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-hint p:last-child {
    margin-bottom: 0;
}

.video-hint i {
    width: 16px;
    text-align: center;
    color: #1976d2;
}

.tutorial-content {
    display: grid;
    gap: 1.5rem;
}

.tutorial-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.tutorial-section h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tutorial-section .icon {
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tutorial-section p {
    margin: 0 0 0.8rem 0;
    line-height: 1.5;
    color: #555;
    font-size: 1.1rem;
}

.tutorial-section ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.tutorial-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.color-examples {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.color-example {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.modal-footer {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background: #0056b3;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.light-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.header-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kunde-logo-container {
    height: 40px;
}

.kunde-logo-image {
    height: 40px;
    width: auto;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.container {
    display: flex;
    min-height: calc(100vh - 300px);
    gap: 1rem;
    padding: 0 2rem;
}

.sidebar {
    width: 300px;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.navigation {
    margin-bottom: auto;
}

.navigation h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #007bff;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    border: 2px solid transparent;
    display: block;
}

.nav-links a:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.nav-links a.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.screenshot-container {
    position: relative;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.watermark {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #ff0000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.compare-button {
    position: absolute;
    top: 0.8%;
    right: 14%;
    background-color: #cce4c8;
    color: #000;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: 1px solid rgb(0, 0, 0);
}

.compare-button-bottom {
    position: absolute;
    bottom: 1.5%;
    right: 14%;
    background-color: #cce4c8;
    color: #000;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: 1px solid rgb(0, 0, 0);
}

.compare-button-bottom:hover {
    background-color: #b9ceb5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.compare-button:hover {
    background-color: #b9ceb5;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tutorial-restart-button {
    margin-top: 2rem;
    padding: 0.75rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.tutorial-restart-button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.4);
}

.tutorial-restart-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}
