/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

/* Empty Cart State */
.emptyCartContainer {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 20px 2%;
    width: 96%;
    box-sizing: border-box;
}

.emptyCartIcon {
    font-size: 72px;
    color: #cccccc;
    margin-bottom: 20px;
}

.emptyCartTitle {
    font-size: 24px;
    font-weight: bold;
    color: #4b4b4b;
    margin-bottom: 12px;
}

.emptyCartMessage {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.5em;
}

.emptyCartButton {
    display: inline-block;
    background-color: #79bbff;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: normal;
    transition: background-color 0.3s ease;
}

.emptyCartButton:hover {
    background-color: #5a9de0;
    text-decoration: none;
}

/* Cart Item Styling */
.cartItem {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s ease;
}

.cartItem:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cartItemName {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    padding-right: 15px;
}

.cartItemPrice {
    font-size: 20px;
    font-weight: bold;
    color: #2c5282;
    min-width: 80px;
    text-align: right;
    padding-right: 15px;
}

.cartItemRemove {
    min-width: 80px;
    text-align: center;
}

.removeButton {
    background-color: #e53e3e;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.removeButton:hover {
    background-color: #c53030;
    text-decoration: none;
    color: #ffffff;
}

/* Price Summary Styling */
.priceSummary {
    background-color: #f7fafc;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 2% 20px 2%;
    width: 96%;
    box-sizing: border-box;
}

.priceRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 16px;
}

.priceLabel {
    color: #4a5568;
    font-weight: 500;
}

.priceValue {
    font-weight: bold;
    color: #2d3748;
    font-size: 18px;
}

.totalPrice {
    border-top: 2px solid #cbd5e0;
    margin-top: 12px;
    padding-top: 12px;
}

.totalPrice .priceLabel {
    font-size: 20px;
    font-weight: bold;
    color: #2d3748;
}

.totalPrice .priceValue {
    font-size: 22px;
    font-weight: bold;
    color: #2d3748;
}

.savingsRow {
    color: #38a169;
    font-weight: bold;
}

.originalPrice {
    color: #718096;
    text-decoration: line-through;
}

/* Discount Code Section */
.discountSection {
    background-color: #edf2f7;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 2% 20px 2%;
    width: 96%;
    box-sizing: border-box;
}

.discountTitle {
    font-size: 16px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 12px;
}

.discountForm {
    display: flex;
    gap: 10px;
    align-items: center;
}

.discountInput {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 15px;
    max-width: 300px;
}

.discountInput:focus {
    outline: none;
    border-color: #79bbff;
    box-shadow: 0 0 0 3px rgba(121, 187, 255, 0.1);
}

.applyButton {
    background-color: #79bbff;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.applyButton:hover {
    background-color: #5a9de0;
}

.discountMessage {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
}

.discountSuccess {
    background-color: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.discountError {
    background-color: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

/* Cart Container */
.cartContainer {
    margin: 20px 2%;
    width: 96%;
}

.cartHeader {
    font-size: 18px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* Checkout Button Styling */
.checkoutButton {
    background-color: #48bb78;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkoutButton:hover {
    background-color: #38a169;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.checkoutButtonContainer {
    text-align: right;
    padding: 20px 2%;
}

/* Terms & Conditions */
.termsSection {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 2%;
    width: 96%;
    box-sizing: border-box;
}

.termsHeader {
    font-size: 16px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.termsContent {
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f7fafc;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.termsCheckbox {
    margin-top: 15px;
    padding: 12px;
    background-color: #edf2f7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.termsCheckbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.termsCheckbox label {
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

@media (max-width: 990px) {
   #leftTwoThirds { width: 95%; }
   #leftThreeFifths { width: 95%; }
   #leftFourFifths { width: 95%; }
   #rightOneThird { float: none; width: 95%;}
   #rightTwoFifths { float: none; width: 95%;}
   #rightOneFifth { float: none; width: 95%;}
   .transcriptName { width: 95%; }
   .transcriptChart { float: none; width: 95%; }
   .twoThirdsBG { background-image: url(''); }
   .pageBlockMenu { width: 100%; margin-left: 0px; }
   .pageBlockMenuStatic { width: 100%; margin-left: 0px; }
   .text_buttons {  font-size: 14px; padding: 10px 8px 8px 8px; }
   #wrapper {width: 97%;}
   .responsiveTableScroll {overflow-x: scroll;-webkit-overflow-scrolling: touch;margin-right: 1%;}
}

@media (max-width: 600px) {
   .text_buttons { display: none;}
   .lmsButtons { margin-top: 5px; }
   .responsiveChart { width: 95%; }
   .pageBlock { padding: 0px;}
   .loginTopPadding { margin-top: 10px;}
   .roleDropDown { display: block;}
   .roleDropDown ul li { padding: 6px; font-size: 1.2em;}
   .roleDropDownStatic { display: block;}
   .modalIframe { min-width: 400px; }
   #wrapper {width: 95%;}
   #rightHalf {float: left;}
   .headerImageFlip {display: none;}
   .mobileHeader {display: block;}
}

@media (max-width: 477px) {
   #wrapper {width: 97%; margin-left: 1%; padding-right: 0px; margin-right: 0px;}
   .showBig {display: none;}
   .showSmall {display: inline-block;}
   .topHeader {padding: 0px; padding-right: 0px;}
}

@media (max-width: 400px) {
    #wrapper {width: 97%; margin-left: 1%; padding-right: 0px; margin-right: 0px;}
}
