.svk-login-wrapper,
.svk-course-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 24px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

/* table išdėstymas: kairė – sąrašas, dešinė – video */
.svk-layout-table {
    width: 100%;
    border-collapse: collapse;
}

.svk-layout-sidebar {
    width: 280px;
    vertical-align: top;
    padding-right: 18px;
    border-right: 1px solid #e5e7eb;
}

.svk-layout-player {
    vertical-align: top;
    padding-left: 18px;
}

.svk-login-title {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 600;
}

.svk-form-row {
    margin-bottom: 18px;
}

.svk-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.svk-form-row input[type="email"],
.svk-form-row input[type="password"],
.svk-form-row input[type="text"],
.svk-form-row input[type="number"] {
    width: 100%;
    max-width: 380px;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.svk-form-row input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.svk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
    white-space: nowrap;
}

.svk-btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.svk-btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.svk-btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.svk-btn-secondary:hover {
    background: #e5e7eb;
}

.svk-btn[disabled],
.svk-btn:disabled {
    opacity: 0.6;
    cursor: default;
    box-shadow: none;
    transform: none;
}

.svk-error {
    padding: 10px 12px;
    margin-bottom: 15px;
    background: #fef2f2;
    border-radius: 10px;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
}

.svk-course-sidebar {
    padding-right: 0;
}

.svk-sidebar-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.svk-video-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svk-video-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}

.svk-video-item:hover {
    background: #f3f4f6;
}

.svk-video-item.active {
    background: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.svk-video-item.active .svk-video-title,
.svk-video-item.active .svk-video-step {
    color: #ffffff;
}

.svk-video-item.completed .svk-video-step {
    border-color: #22c55e;
}

.svk-video-step {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    color: #4b5563;
    background: #f9fafb;
}

.svk-video-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.svk-video-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.svk-course-player-area {
    min-width: 0;
}

.svk-player-header {
    margin-bottom: 12px;
}

.svk-current-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.svk-player-card {
    border-radius: 16px;
    background: #f9fafb;
    padding: 14px 14px 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.svk-player-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.svk-player-iframe-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.svk-player-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    pointer-events: none; /* visi paspaudimai per overlay */
}

.svk-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.svk-progress-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#svk-seek {
    flex: 1;
}

.svk-time-label {
    font-size: 12px;
    color: #4b5563;
    white-space: nowrap;
}

.svk-player-controls {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.svk-info {
    font-size: 13px;
    color: #b91c1c;
}

.svk-note {
    font-size: 13px;
    color: #4b5563;
    margin-top: 8px;
}

.svk-video-description {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
    font-size: 14px;
    color: #111827;
}

.svk-credit {
    margin-top: 10px;
    font-size: 11px;
    color: #6b7280;
}

.svk-credit a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .svk-layout-table,
    .svk-layout-table tr,
    .svk-layout-table td {
        display: block;
        width: 100%;
    }

    .svk-layout-sidebar {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-right: 0;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .svk-layout-player {
        padding-left: 0;
    }
}
