/*
Theme Name:        Skill Pathway
Theme URI:         https://ashishjha977.com.np/
Author:            Ashish Jha
Author URI:        https://linkedin.com/in/asisjha977/
Description:       Child Theme of Skill Pathway.
Requires at least: WordPress 5.0
Template:          geeks
Version:           1.2.36
License:           GNU General Public License v3 or later
License URI:       LICENSE
Text Domain:       geeks-child
Tags:              custom-menu, featured-images, full-width-template, threaded-comments, footer-widgets, sticky-post, theme-options
*/

/* Tutor LMS Cart Page Responsive Enhancements */

/* General container and background */
.tutor-cart-page-wrapper {
    background: #f8fafc;
    padding: 20px;
	border-radius: 12px;
}
.tutor-cart-course-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Cart item card */
.tutor-cart-course-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    padding: 20px;
    transition: box-shadow 0.2s;
}
.tutor-cart-course-item:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.tutor-cart-course-thumb img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.tutor-cart-course-title {
    flex: 1;
    margin-left: 24px;
}
.tutor-cart-course-title h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}
.tutor-cart-course-info {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tutor-cart-course-bundle-badge {
    background: #e0e7ff;
    color: #3730a3;
    font-size: 0.85rem;
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 6px;
}
.tutor-cart-course-price-wrapper {
    text-align: right;
    min-width: 120px;
}
.tutor-cart-course-price {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.tutor-cart-discount-price {
    text-decoration: line-through;
    color: #b91c1c;
    font-size: 0.95rem;
}
.tutor-cart-remove-button {
    color: #ef4444;
    font-weight: 500;
    margin-top: 6px;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}
.tutor-cart-remove-button:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Cart summary */
.tutor-cart-summery {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 28px 24px;
    margin-top: 12px;
}
.tutor-cart-summery-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}
.tutor-cart-summery-bottom .tutor-btn-primary {
    margin-top: 18px;
    font-size: 14px;
    padding: 12px 0;
    border-radius: 8px;
    width: 100%;
}

/* Empty state */
.tutor-cart-empty-state {
    text-align: center;
    padding: 60px 0;
}
.tutor-cart-empty-state img {
    width: 120px;
    margin-bottom: 24px;
}
.tutor-cart-empty-state p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 18px;
}
.tutor-cart-empty-state .tutor-btn-primary {
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 8px;
}

/* Responsive styles */
@media (max-width: 991px) {
    .tutor-row.tutor-g-4 {
        flex-direction: column;
        gap: 32px;
    }
    .tutor-col-lg-8, .tutor-col-lg-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .tutor-cart-summery {
        margin-top: 32px;
    }
}

@media (max-width: 600px) {
    .tutor-cart-page-wrapper {
        padding: 16px 0;
    }
    .tutor-cart-course-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px;
    }
    .tutor-cart-course-thumb img {
        width: 70px;
        height: 70px;
    }
    .tutor-cart-course-title {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
    }
    .tutor-cart-course-price-wrapper {
        min-width: 0;
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
    .tutor-cart-summery {
        padding: 18px 8px;
    }
}

/* Enhanced Tutor LMS Checkout Page Styles to Match Screenshot */

/* Reset and Base Styles */
.tutor-checkout-page * {
    box-sizing: border-box;
}

.tutor-checkout-page {
    background: #f8fafc;
    border-radius: 24px;
    min-height: 100vh;
    padding: 1.5rem 0.75rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Main Container */
.tutor-checkout-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}

/* .tutor-checkout-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 24px 24px 0 0;
} */

/* Header Section */
.tutor-checkout-header {
    padding: 2rem 2.5rem 1rem;
    text-align: center;
}

.tutor-checkout-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tutor-checkout-header p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

/* Main Layout - Match Screenshot Layout */
.tutor-row.tutor-g-5 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 15px 20px 20px;
    margin: 0;
}

.page-id-728 .tutor-col-md-6,
.page-id-727 .tutor-col-md-6,
.page-id-728 .tutor-col-lg-6,
.page-id-727 .tutor-col-lg-6,
.page-id-728 .col-lg-8,
.page-id-727 .col-lg-8{
    margin: 0;
    width: 100%!important;
}

/* Order Details Section - LEFT SIDE */
.tutor-checkout-details {
    order: 1;
}

.tutor-checkout-details h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* .tutor-checkout-details h5::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
} */

/* Course Items in Order Details */
.tutor-checkout-course-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.tutor-checkout-course-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tutor-checkout-course-thumb-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.tutor-checkout-course-thumb-title img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.tutor-checkout-course-title {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.tutor-checkout-course-title a {
    color: inherit;
    text-decoration: none;
    word-break: break-word;
}

.tutor-checkout-course-title a:hover {
    color: #667eea;
}

.tutor-checkout-course-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tutor-text-right {
    text-align: right;
}

.tutor-fw-bold {
    font-weight: 700;
    color: #059669;
    font-size: 1rem;
}

.tutor-checkout-discount-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Summary Section in Order Details */
.tutor-checkout-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid #e5e7eb;
}

.tutor-checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.tutor-checkout-summary-item .tutor-fw-medium {
    font-weight: 500;
    color: #374151;
}

.tutor-checkout-summary-item .tutor-fw-bold {
    font-weight: 700;
    color: #1a1a2e;
}

.tutor-checkout-summary-item:last-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    padding-top: 0.75rem;
    border-top: 2px solid #e5e7eb;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Billing Section - RIGHT SIDE */
.tutor-checkout-billing {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    order: 2;
}

.tutor-checkout-billing:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tutor-checkout-billing-inner {
    width: 100%;
}

/* Section Headers */
.tutor-checkout-billing h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #1a1a2e;
    font-weight: 600;
}

/*.tutor-checkout-billing h5::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tutor-payment-method-wrapper h5::before {
    content: '\f09d';
}*/

/* Form Fields */
.tutor-billing-fields {
    margin-bottom: 1.5rem;
}

.tutor-billing-fields .tutor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.tutor-row .tutor-col-md-6{
    padding-left: 0px;
    padding-right: 0px;
}

.tutor-billing-fields .tutor-col-12 {
    grid-column: 1 / -1;
}

.tutor-billing-fields .tutor-col-sm-6 {
    grid-column: span 1;
}

.tutor-billing-fields label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tutor-billing-fields input,
.tutor-billing-fields select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafafa;
    margin-bottom: 0;
}

.tutor-billing-fields input:focus,
.tutor-billing-fields select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

/* Payment Methods */
.tutor-checkout-payment-options {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tutor-checkout-payment-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    margin: 0;
}

.tutor-checkout-payment-item:hover {
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.tutor-checkout-payment-item input[type="radio"] {
    margin-right: 0.75rem;
    accent-color: #667eea;
    transform: scale(1.1);
    margin-bottom: 0;
}

.tutor-checkout-payment-item input[type="radio"]:checked + .tutor-payment-item-content {
    border: none;
}

.tutor-checkout-payment-item:has(input[type="radio"]:checked) {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
}

.tutor-payment-item-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    border: none;
    padding: 0;
}

.tutor-payment-item-content img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: contain;
}

/* Terms Checkbox */
.tutor-form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.tutor-form-check input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: #667eea;
    transform: scale(1.1);
}

.tutor-form-check label {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 400;
}

.tutor-form-check label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.tutor-form-check label a:hover {
    text-decoration: underline;
}

/* Checkout Button */
.tutor-btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.tutor-btn-primary:hover,
.tutor-btn-primary:focus,
.tutor-btn-primary:active {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    color: white;
    border: none;
}

.tutor-btn-primary:active {
    transform: translateY(0);
}

/* Alerts */
.tutor-alert {
    padding: 0.875rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.tutor-alert.tutor-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.tutor-alert.tutor-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.tutor-alert.tutor-success {
    background: #ecfccb;
    color: #365314;
    border: 1px solid #bef264;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tutor-row.tutor-g-5 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tutor-checkout-billing {
        order: -1;
    }
}

@media (max-width: 768px) {
    .tutor-checkout-page {
        padding: 1rem 0.5rem;
    }
    
    .tutor-checkout-container {
        margin: 0;
        border-radius: 16px;
    }
    
    .tutor-row.tutor-g-5 {
        padding: 1rem 1.5rem 1.5rem;
        gap: 10px;
    }
    
    .tutor-checkout-billing,
    .tutor-checkout-summary {
        padding: 1.25rem;
    }
    
    .tutor-billing-fields .tutor-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tutor-billing-fields .tutor-col-sm-6 {
        grid-column: span 1;
    }
    
    .tutor-checkout-course-thumb-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tutor-checkout-course-thumb-title img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 600px) {
    .tutor-checkout-course-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tutor-text-right {
        text-align: left;
        align-self: flex-end;
    }
}

/* Focus States for Accessibility */
.tutor-btn:focus,
.tutor-btn-primary:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.tutor-form-check input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Coupon Section Styling */
.tutor-checkout-coupon-wrapper {
    margin: 0.75rem 0;
}

.tutor-checkout-coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tutor-checkout-coupon-badge.tutor-has-delete-button {
    padding-right: 0.5rem;
}

.tutor-checkout-coupon-badge button {
    background: none;
    border: none;
    color: #3730a3;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
}

.tutor-checkout-coupon-badge button:hover {
    background: rgba(55, 48, 163, 0.1);
}

.tutor-apply-coupon-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tutor-apply-coupon-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.tutor-apply-coupon-form button {
    padding: 0.5rem 1rem;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.tutor-apply-coupon-form button:hover {
    background: #4f46e5;
}

/* Have a coupon link styling */
.tutor-have-a-coupon button {
    background: none;
    border: none;
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.tutor-have-a-coupon button:hover {
    color: #4f46e5;
}

/**
    * The below added CSS is for the design of the Purchase History Styles. 
    */

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1400px;
    }
}
.tutor-dashboard-content .tutor-btn{
    min-width: 90px!important;
    justify-content: center!important;
    word-break: normal!important;
}
.tutor-dashboard-content .tutor-table .tutor-fs-7{
    min-width: 90px!important;
}
.tutor-dashboard-content .tutor-table .tutor-fs-7 li{
    min-width: 150px!important;
    list-style: numeric!important;
}