.video-placeholder {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
}

.play-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #e74c3c;
}

.video-access-btn {
    margin-top: 15px;
    display: inline-block;
    padding: 8px 16px;
    background-color: #1e4b8d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.video-access-btn:hover {
    background-color: #e74c3c;
}

.video-access-info {
    background-color: #f9f9f9;
}

.access-info-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.access-info-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.access-info-content li {
    margin-bottom: 10px;
}

/* Payment Success Styles */
.payment-success {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-top: 20px;
    text-align: center;
}

.payment-success h2 {
    color: #28a745;
    margin-bottom: 20px;
}

.download-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #e9f7ef;
    border-radius: 8px;
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.download-btn {
    background-color: #1e4b8d;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #e74c3c;
}

.video-access {
    margin-top: 30px;
}

/* Spinner for payment processing */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}
