/**
 * Daode LK Plugin Styles
 */

.daode-lk .main {
}

.daode-lk-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 700px;
}

.daode-lk-form {
    margin-bottom: 20px;
}

.daode-lk-form .form-row {
    margin-bottom: 15px;
}

.daode-lk-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.daode-lk-form input[type="text"],
.daode-lk-form input[type="email"],
.daode-lk-form input[type="password"],
.daode-lk-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.daode-lk-form .description {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

.daode-lk-form .checkbox-row {
    display: flex;
    align-items: center;
}

.daode-lk-form .checkbox-row input[type="checkbox"] {
    margin-right: 10px;
}

.daode-lk-form .submit-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.daode-lk-form .submit-button:hover {
    background-color: #005177;
}

.daode-lk-errors {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.daode-lk-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.daode-lk-welcome {
    text-align: center;
    padding: 20px;
}

.daode-lk-links {
    margin: 20px;
}

.daode-lk-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: right;
}

.daode-lk-links ul li {
    margin-bottom: 10px;
}

.daode-lk-links a {
    color: #000;
    text-decoration: none;
    font-size:20px;
}

.daode-lk-links a:hover {
    text-decoration: underline;
}

.daode-lk-payments-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.daode-lk-payments-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.daode-lk-payments-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: left;
}

.daode-lk-payments-table th,
.daode-lk-payments-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.daode-lk-payments-table th,
.daode-lk-payments-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.daode-lk-payments-table th {
    background-color: #f5f5f5;
    font-weight: bold;


/* Notices styles */
.daode-lk-notices {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    flex-grow: 2;
}

.daode-lk-notices h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.daode-lk-notice {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.daode-lk-notice:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.daode-lk-notice-title {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2em;
    color: #0073aa;
}

.daode-lk-notice-date {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #6c757d;
    text-align: left;
}

.daode-lk-notice-content {
    line-height: 1.5;
    text-align: left;
}

.daode-lk-notice-content p:first-child {
    margin-top: 0;
}

.daode-lk-notice-content p:last-child {
    margin-bottom: 0;
}

#daode-checkout {
}

/* Course Zoom link styles */
.course-zoom-link {
    margin-top: 10px;
}

.course-zoom-link a.button.button--blue {
    display: inline-block;
    background-color: #2D8CFF;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.course-zoom-link a.button.button--blue:hover {
    background-color: #2681F2;
}

/* Links page styles */
.daode-lk-links-page {
    margin: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.daode-lk-links-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.daode-lk-links-table th,
.daode-lk-links-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.daode-lk-links-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.daode-lk-zoom-link {
    display: inline-block;
    background-color: #2D8CFF;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.daode-lk-zoom-link:hover {
    background-color: #2681F2;
    color: white;
    text-decoration: none;
}

.daode-lk-back-link {
    margin-top: 20px;
    text-align: center;
}

.daode-lk-back-link a {
    color: #0073aa;
    text-decoration: none;
}

.daode-lk-back-link a:hover {
    text-decoration: underline;
}

.daode-lk .cart-view-item-text {
    text-align: left;
}

.daode-lk .cart-view-wrapper-action {
    display: flex;
    padding-top: 5px;
    flex-wrap: wrap;
    margin-top: auto;
    gap: 5px 20px;
    border-top: 1px solid rgb(224, 224, 224);
}

.daode-lk .cart-view-wrapper-paid {
    color: rgb(135, 135, 135);
}

.daode-lk .cart-view-wrapper-pay {
    color: rgb(196, 35, 32);
    text-decoration: none;
}

.cart-view-unit--disabled .cart-view-item, .cart-view-unit--disabled .cart-view-wrapper {
    opacity: 0.4;
}

.cart-view-item-delete i {
    font-size: 30px;
}


@media screen and (max-width: 767px) {
    #daode-checkout #PaymentWrapper .paymentTypesWrapper {
        display: none;
    }
    .course-view-cart .course-view-body {
        flex-direction: column;
    }
}