video {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
}

/* ===== Course Form UI (Updated Professional Design) ===== */

.ccp-form-wrapper {
    width: 100%;
    max-width: 1000px; /* 🔥 width increase */
    margin: 50px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

/* Heading */
.ccp-form-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #222;
}

/* Form Layout (Grid for pro look) */
.ccp-course-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Labels */
.ccp-course-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

/* Inputs */
.ccp-course-form input,
.ccp-course-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    background: #fafafa;
}

/* Focus Effect */
.ccp-course-form input:focus,
.ccp-course-form select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 6px rgba(0,115,170,0.3);
    background: #fff;
}

/* Full Width Fields */
.ccp-course-form select,
.ccp-course-form input[type="file"],
.ccp-course-form button {
    grid-column: span 2;
}

/* Buttons */
.ccp-course-form button {
    margin-top: 10px;
    padding: 14px;
    background: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* Button Hover */
.ccp-course-form button:hover {
    background: #005f8d;
}

/* Second Button (Send Application) */
.ccp-course-form button[name="ccp_send_application"] {
    background: #28a745;
}

.ccp-course-form button[name="ccp_send_application"]:hover {
    background: #218838;
}

/* Note Text */
.ccp-note {
    text-align: center;
    font-size: 13px;
    margin-top: 15px;
    color: #666;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .ccp-form-wrapper {
        padding: 25px;
        margin: 20px;
    }

    .ccp-course-form {
        grid-template-columns: 1fr; /* 🔥 single column mobile */
    }

    .ccp-course-form select,
    .ccp-course-form input[type="file"],
    .ccp-course-form button {
        grid-column: span 1;
    }
}