/*--------------------------------------------------------------
# Package Page Styling
--------------------------------------------------------------*/

/* Package Page Container */
.pricing-page {
    padding: 60px 0;
    background: #fff;
}

/* Section Title */
.section-title-two {
    margin-bottom: 50px;
    text-align: center;
}

.section-title-two__title {
    font-family: "Mitr", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-title-two__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #50bfda;
    border-radius: 1px;
}

/* Package Cards */
.pricing-one__single {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.pricing-one__single:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* Package Header */
.pricing-one__package-name {
    background: #50bfda;
    padding: 20px 25px;
    text-align: center;
    margin: 0;
    position: relative;
}

.pricing-one__package-name a {
    font-family: "Mitr", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin: 0;
    display: block;
}

/* Price Box */
.pricing-one__price-box {
    background: #f8f9fa;
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.pricing-one__price-box h3 {
    font-family: "Mitr", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #50bfda;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pricing-one__price-box h3::before {
    content: '฿';
    font-size: 1.5rem;
    font-weight: 600;
    color: #50bfda;
}

/* Features List */
.pricing-one__feature {
    min-height: 220px;
    padding: 25px;
    margin: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.pricing-one__feature li {
    font-family: "Mitr", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.pricing-one__feature li::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #50bfda;
    font-size: 14px;
}

.pricing-one__feature li:last-child {
    margin-bottom: 0;
}

/* Button Box */
.pricing-one__btn-box {
    padding: 0 25px 25px;
    text-align: center;
}

.pricing-one__btn-box .thm-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    background: #50bfda;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.pricing-one__btn-box .thm-btn:hover {
    background: #3da8c4;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(80, 191, 218, 0.3);
}

.pricing-one__btn-box .thm-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(80, 191, 218, 0.3);
}

/* Simple Button Style - Clean and Minimal */
.pricing-one__btn-box .thm-btn.package-register-btn {
    background: #50bfda;
    color: #ffffff;
    font-family: "Mitr", sans-serif;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #50bfda;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    width: 100%;
    max-width: 180px;
}

.pricing-one__btn-box .thm-btn.package-register-btn:hover {
    background: #3da8c4;
    border-color: #3da8c4;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(80, 191, 218, 0.3);
}

.pricing-one__btn-box .thm-btn.package-register-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(80, 191, 218, 0.3);
}

.pricing-one__btn-box .thm-btn.package-register-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(80, 191, 218, 0.25);
}

/* Popular Package Button - Simple Style */
.pricing-one__single.popular .pricing-one__btn-box .thm-btn.package-register-btn {
    background: #FFC224;
    border-color: #FFC224;
    color: #212529;
    font-weight: 600;
}

.pricing-one__single.popular .pricing-one__btn-box .thm-btn.package-register-btn:hover {
    background: #ffb300;
    border-color: #ffb300;
    color: #212529;
    box-shadow: 0 3px 10px rgba(255, 194, 36, 0.3);
}

.pricing-one__single.popular .pricing-one__btn-box .thm-btn.package-register-btn:focus {
    box-shadow: 0 0 0 3px rgba(255, 194, 36, 0.25);
}

/* Button Loading State */
.pricing-one__btn-box .thm-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.pricing-one__btn-box .thm-btn.loading .icon-angles-right {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Popular Package Highlight - Enhanced */
.pricing-one__single.popular {
    border: 2px solid #FFC224;
    box-shadow: 0 8px 25px rgba(255, 194, 36, 0.25);
    transform: scale(1.02);
    position: relative;
    z-index: 2;
}

.pricing-one__single.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFC224, #ffb300);
    z-index: 1;
}

.pricing-one__single.popular:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(255, 194, 36, 0.3);
}

.pricing-one__single.popular .pricing-one__package-name {
    background: linear-gradient(135deg, #FFC224, #ffb300);
    position: relative;
}

.pricing-one__single.popular .pricing-one__package-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.pricing-one__single.popular .pricing-one__package-name a {
    color: #212529;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pricing-one__single.popular .pricing-one__price-box {
    background: linear-gradient(135deg, #fff9e6, #fff5d6);
    border-bottom: 1px solid #FFC224;
}

.pricing-one__single.popular .pricing-one__price-box h3 {
    color: #FFC224;
    font-size: 2.2rem;
    text-shadow: 0 2px 4px rgba(255, 194, 36, 0.2);
}

.pricing-one__single.popular .pricing-one__price-box h3::before {
    color: #FFC224;
    font-weight: 700;
}

.pricing-one__single.popular .pricing-one__feature li::before {
    color: #FFC224;
    font-size: 16px;
}

/* Popular Badge - Enhanced */
.pricing-one__single.popular::after {
    content: 'แนะนำ';
    position: absolute;
    top: 10px;
    right: 15px;
    background: linear-gradient(135deg, #FFC224, #ffb300);
    color: #212529;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(255, 194, 36, 0.4);
    border: 2px solid #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-one__single.popular {
        transform: scale(1.01);
    }
}

@media (max-width: 768px) {
    .pricing-page {
        padding: 40px 0;
    }
    
    .section-title-two__title {
        font-size: 1.8rem;
    }
    
    .pricing-one__single.popular {
        transform: none;
        margin-bottom: 30px;
    }

    .pricing-one__single.popular::after {
        top: 6px
    }
    
    .pricing-one__single.popular:hover {
        transform: none;
    }
    
    .pricing-one__package-name {
        padding: 18px 20px;
    }
    
    .pricing-one__package-name a {
        font-size: 1.1rem;
    }
    
    .pricing-one__price-box {
        padding: 20px;
    }
    
    .pricing-one__price-box h3 {
        font-size: 1.8rem;
    }
    
    .pricing-one__single.popular .pricing-one__price-box h3 {
        font-size: 2rem;
    }
    
    .pricing-one__feature {
        padding: 20px;
    }
    
    .pricing-one__feature li {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .pricing-one__btn-box {
        padding: 0 20px 20px;
    }
    
    .pricing-one__btn-box .thm-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .pricing-one__btn-box .thm-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(80, 191, 218, 0.3);
    }
    
    .pricing-one__single.popular .pricing-one__btn-box .thm-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(255, 194, 36, 0.3);
    }
    
    .pricing-one__single.popular .pricing-one__btn-box .thm-btn.package-register-btn:hover {
        box-shadow: 0 3px 10px rgba(255, 194, 36, 0.3);
    }
}

@media (max-width: 576px) {
    .pricing-page {
        padding: 30px 0;
    }
    
    .section-title-two {
        margin-bottom: 30px;
    }
    
    .section-title-two__title {
        font-size: 1.6rem;
    }
    
    .pricing-one__package-name {
        padding: 15px 18px;
    }
    
    .pricing-one__package-name a {
        font-size: 1rem;
    }
    
    .pricing-one__price-box {
        padding: 18px;
    }
    
    .pricing-one__price-box h3 {
        font-size: 1.6rem;
    }
    
    .pricing-one__single.popular .pricing-one__price-box h3 {
        font-size: 1.8rem;
    }
    
    .pricing-one__feature {
        padding: 18px;
    }
    
    .pricing-one__feature li {
        font-size: 14px;
        margin-bottom: 8px;
        padding-left: 20px;
    }
    
    .pricing-one__feature li::before {
        font-size: 12px;
    }
    
    .pricing-one__single.popular .pricing-one__feature li::before {
        font-size: 14px;
    }
    
    .pricing-one__btn-box {
        padding: 0 18px 18px;
    }
    
    .pricing-one__btn-box .thm-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .pricing-one__btn-box .thm-btn.package-register-btn {
        padding: 8px 15px;
        font-size: 13px;
        max-width: 160px;
    }
    
    .pricing-one__btn-box .thm-btn:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(80, 191, 218, 0.3);
    }
    
    .pricing-one__single.popular .pricing-one__btn-box .thm-btn:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(255, 194, 36, 0.3);
    }
    
    .pricing-one__btn-box .thm-btn .icon-angles-right {
        font-size: 12px;
    }
    
    .pricing-one__single.popular .pricing-one__btn-box .thm-btn .icon-angles-right {
        font-size: 14px;
    }
    
    .pricing-one__single.popular::after {
        top: 4px;
        right: 10px;
        padding: 4px 12px;
        font-size: 12px;
    }
}

/*--------------------------------------------------------------
# Package Information Section
--------------------------------------------------------------*/
.package-info {
    padding: 60px 0;
    background: #f8f9fa;
}

.package-info__content {
    text-align: center;
}

.package-info__title {
    font-family: "Mitr", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.package-info__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #50bfda;
    border-radius: 1px;
}

.package-info__features {
    margin-top: 30px;
}

/* Feature Items */
.feature-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    text-align: center;
}

.feature-item__icon {
    width: 60px;
    height: 60px;
    background: #50bfda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-item__icon i {
    font-size: 24px;
    color: #ffffff;
}

.feature-item__content h4 {
    font-family: "Mitr", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.feature-item__content p {
    font-family: "Mitr", sans-serif;
    font-size: 15px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design for Package Info */
@media (max-width: 768px) {
    .package-info {
        padding: 40px 0;
    }
    
    .package-info__title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .feature-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .feature-item__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .feature-item__icon i {
        font-size: 20px;
    }
    
    .feature-item__content h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .feature-item__content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .package-info {
        padding: 30px 0;
    }
    
    .package-info__title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .feature-item {
        padding: 18px 12px;
        margin-bottom: 15px;
    }
    
    .feature-item__icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .feature-item__icon i {
        font-size: 18px;
    }
    
    .feature-item__content h4 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .feature-item__content p {
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.package-faq {
    padding: 60px 0;
    background: #ffffff;
}

.package-faq__content {
    text-align: center;
}

.package-faq__title {
    font-family: "Mitr", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.package-faq__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #50bfda;
    border-radius: 1px;
}

/* Accordion Styling */
.accordion {
    text-align: left;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    font-family: "Mitr", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #212529;
    background: #ffffff;
    border: none;
    padding: 18px 20px;
    text-align: left;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: #50bfda;
    color: #ffffff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #50bfda;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2350bfda'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.accordion-body {
    font-family: "Mitr", sans-serif;
    font-size: 15px;
    color: #6c757d;
    line-height: 1.5;
    padding: 18px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .package-faq {
        padding: 40px 0;
    }
    
    .package-faq__title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .accordion-button {
        font-size: 15px;
        padding: 16px 18px;
    }
    
    .accordion-body {
        font-size: 14px;
        padding: 16px 18px;
    }
}

@media (max-width: 576px) {
    .package-faq {
        padding: 30px 0;
    }
    
    .package-faq__title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .accordion-button {
        font-size: 14px;
        padding: 14px 16px;
    }
    
    .accordion-body {
        font-size: 13px;
        padding: 14px 16px;
    }
}

.package-register-btn {
    /* Base styles from style.css .thm-btn */
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
    outline: none !important;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #50bfda;
    border: 2px solid #50bfda;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Mitr", sans-serif;
    width: 100%;
    max-width: 200px;
    cursor: pointer;
}

.package-register-btn:hover {
    background-color: #3da8c4;
    border-color: #3da8c4;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 191, 218, 0.3);
}

.package-register-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(80, 191, 218, 0.3);
}

.package-register-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(80, 191, 218, 0.25);
}

/* Popular package button variant */
.package-register-btn.popular {
    background-color: #FFC224;
    border-color: #FFC224;
    color: #212529;
    font-weight: 600;
}

.package-register-btn.popular:hover {
    background-color: #ffb300;
    border-color: #ffb300;
    color: #212529;
    box-shadow: 0 5px 15px rgba(255, 194, 36, 0.3);
}

.package-register-btn.popular:focus {
    box-shadow: 0 0 0 3px rgba(255, 194, 36, 0.25);
}

/* Disabled state */
.package-register-btn:disabled,
.package-register-btn.disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* Loading state */
.package-register-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .package-register-btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 180px;
    }
    
    .package-register-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(80, 191, 218, 0.3);
    }
    
    .package-register-btn.popular:hover {
        box-shadow: 0 3px 10px rgba(255, 194, 36, 0.3);
    }
}

@media (max-width: 576px) {
    .package-register-btn {
        padding: 8px 15px;
        font-size: 13px;
        max-width: 160px;
    }
    
    .package-register-btn:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(80, 191, 218, 0.3);
    }
    
    .package-register-btn.popular:hover {
        box-shadow: 0 2px 8px rgba(255, 194, 36, 0.3);
    }
}

/* Animation for button press */
.package-register-btn:active {
    transition: all 0.1s ease;
}

/* Focus styles for accessibility */
.package-register-btn:focus-visible {
    outline: 2px solid #50bfda;
    outline-offset: 2px;
}

.package-register-btn.popular:focus-visible {
    outline-color: #FFC224;
} 