/* ── Card wrapper ── */
.main-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    overflow: hidden;
}

/* ── Left panel ── */
.panel-left {
    background: #ffffff;
    padding: 2.5rem;
    border-right: 1px solid #e9ecef;
}

.panel-left .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: .4rem;
}

.panel-left .section-subtitle {
    font-size: .875rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.coord-badge {
    display: inline-block;
    background: #f1f3ff;
    color: #0f3460;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 1.25rem;
}

.form-floating>.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}

.form-floating>.form-control:focus {
    border-color: #0f3460;
    box-shadow: 0 0 0 .2rem rgba(15, 52, 96, .15);
}

.form-floating>label {
    color: #6c757d;
    font-size: .9rem;
}

.btn-submit {
    background: #3498db;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .03em;
    padding: .75rem 2rem;
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #3498db;
    cursor: not-allowed;
    transform: none;
}

/* ── Right panel ── */
.panel-right {
    background: #1a1a2e;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.panel-right .panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.panel-right .panel-title i {
    color: #e94560;
}

/* ── Video box ── */
.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0d0d1a;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
    flex: 1;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #4a5568;
    transition: opacity .3s;
}

.video-placeholder i {
    font-size: 4rem;
    color: #2d3748;
}

.video-placeholder p {
    font-size: .875rem;
    margin: 0;
}

/* ── Meta chips ── */
.video-meta {
    margin-top: 1rem;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.meta-chip {
    background: rgba(255, 255, 255, .07);
    color: #a0aec0;
    font-size: .75rem;
    border-radius: 20px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-chip i {
    font-size: .8rem;
    color: #e94560;
}

/* ── Example note ── */
.example-note {
    background: #f8f9fa;
    border-left: 3px solid #0f3460;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.example-note .text-muted {
    font-size: 0.8rem;
    color: #6c757d !important;
}

.example-note .text-muted i {
    color: #ffc107;
}

.example-coords code {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #0f3460;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.example-coords code:not(:last-child) {
    margin-bottom: 0.25rem;
}

/* ���� Example note ���� */
.example-note {
    background: #f8f9fa;
    border-left: 3px solid #0f3460;
    border-radius: 6px;
    padding: 0.75rem 1rem;
}

.example-note .text-muted {
    font-size: 0.8rem;
    color: #6c757d !important;
}

.example-note .text-muted i {
    color: #ffc107;
}

.example-coords code {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    color: #0f3460;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    font-family: ''Courier New'', monospace;
}

.example-coords code:not(:last-child) {
    margin-bottom: 0.25rem;
}
