.btn-previous,.btn-next {
    color: white;
    text-decoration: none;
}
 a{
    text-decoration: none;
  }


.mob-nav-social-icons{
    display: none;
}
.sequence-screen-body{
    background: #1F1F1F;
    width: 100%;
    min-height: 100vh;
    padding: 4rem 2rem;
}

.content{
    margin: 0 auto;
    background: #1F1F1F;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #ffffff2f;
    position: relative;
}

/* Screen: become-wynergy-resume - Skip Button */
.skip-button {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #333;
    color: #FFFFFF;
    border: none;
    border-radius: 32px;
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 3px 26px;
}

.skip-button:hover {
    background: #555555;
}

.become-wynerger-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}



.header-icon-wrapper img{
    width: 36px;
    height: 36px;
}

.header-content h1 {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    
    line-height: 180%;
    font-family: 'Archivo', sans-serif;
}

.header-content p {
    font-size: 14px;
    font-weight: 400;
    color: #8C8C8C;    
    line-height: 160%;
    max-width: 1010px;
    font-family: 'Archivo', sans-serif;
}

.header-separator {
    height: 1px;
    background: #444444;
    width: 100%;
    margin: 1.5rem 0;
}

.user-type-section {
    margin-top: 2rem;
}

.user-type-section h2 {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;    
    font-family: 'Archivo', sans-serif;
    margin-bottom: 23px;
}

.user-type-section .row {
    margin: 0;
}

@media (max-width: 768px) {
    .user-type-section .row {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        gap: 10px;
    }

    .user-type-section .row > div {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
        padding: 0;
    }
    .sequence-screen-body{
        padding: 3.5rem 0rem 0rem 0rem;

    }
    .become-wynerger-header{
        margin-bottom: 0.5rem;
     

    }
    .content{
        width: 100%;
        max-width: 100%;
        border: none;
        padding: 14px;
        margin: 12px 0 0 0;
    }
    .radio-options {        
        gap: 1rem !important;
        margin-bottom: 2rem !important;
        
    }

    /* Upload Resume (Optional) – mobile layout to match ref */
    .form-group.custom-form-row .custom-form-label-col label {
        font-weight: 700;
        color: #FFFFFF;
    }
    .form-group.custom-form-row .custom-form-label-col .field-description {
        color: #A0A0A0;
        font-size: 14px;
        margin-top: 0.25rem;
        margin-bottom: 0;
    }
    .form-group.custom-form-row .custom-form-input-col .file-upload-area {
        display: grid;
        grid-template-columns: 34px 1fr;
        grid-template-areas:
            "icon content"
            "btn btn";
        gap: 10px 12px;
        align-items: start;
        justify-items: start;
        text-align: left;
        background: #252525;
        border: 1px solid #353535;
        border-radius: 12px;
        padding: 16px;
        box-shadow: none;
    }

    .form-group.custom-form-row .custom-form-input-col .file-upload-area:hover {
        border-color: #353535;
        background: #252525;
    }

    .form-group.custom-form-row .custom-form-input-col .file-upload-area .upload-icon {
        grid-area: icon;
        align-self: center;
        justify-self: start;
    }

    .form-group.custom-form-row .custom-form-input-col .file-upload-area .upload-content {
        grid-area: content;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .form-group.custom-form-row .custom-form-input-col .file-upload-area .upload-text {
        color: #FFFFFF;
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 4px;
    }
    .form-group.custom-form-row .custom-form-input-col .file-upload-area .browse-link {
        color: #2277F3;
    }
    .form-group.custom-form-row .custom-form-input-col .file-upload-area .upload-format {
        color: #A0A0A0;
        font-size: 12px;
        margin-bottom: 0;
    }
    .form-group.custom-form-row .custom-form-input-col .file-upload-area .upload-file-button {
        grid-area: btn;
        justify-self: center;
        align-self: center;
        margin-top: 8px;
        width: 140px;
        height: 36px;
        padding: 6px 16px;
  
        letter-spacing: 0.3px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }
}

.user-type-card {
    position: relative;
    background: #383838;
    border: 1px solid #383838 ;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.user-type-card:hover {
    border-color: #666666;
}

.user-type-card.selected {
    border-color: #34C759;
    background: #383838;
}

.user-type-card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}

.user-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-type-icon img {
    width: 32px;
    height: 32px;
}

.user-type-card span {
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Archivo', sans-serif;
}

.checkmark-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkmark-icon img {
    width: 20px;
    height: 20px;
}

.user-type-card:not(.selected) .checkmark-icon {
    display: none;
}

.progress-indicator-section {
    margin: 2rem 0;
}

.progress-indicator {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    padding: 0;
    gap: 8rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    margin: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 3;
}

.step-circle.active {
    background: #FFFFFF;
    border: 1px solid #444444;
}

.step-circle.inactive {
    background: #4A4A4A;
    border: 1px solid #666666;
}

.step-number {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Archivo', sans-serif;
}

.step-circle.active .step-number {
    color: #333333;
}

.step-circle.inactive .step-number {
    color: #fff;
}

.step-text {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    text-align: left;
    font-family: 'Archivo', sans-serif;
    line-height: 1.4;
    max-width: 140px;
    margin-top: 0.5rem;
    white-space: nowrap;
}

.progress-line {
    display: none !important;
    width: 0;
    margin: 0;
    padding: 0;
}

.form-section {
    margin-top: 2rem;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-family: 'Archivo', sans-serif;
}

.custom-form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.custom-form-label-col {
    flex: 0 0 30%;
    max-width: 30%;
}

.custom-form-input-col {
    flex: 0 0 70%;
    max-width: 40%;
}

.custom-form-label-col label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-family: 'Archivo', sans-serif;
}

.required {
    color: #fff;
}

.field-description {
    font-size: 14px;
    font-weight: 400;
    color: #8C8C8C;
    margin-bottom: 0;
    line-height: 100%;
    font-family: 'Archivo', sans-serif;
}

.custom-form-input-col .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #252525;
    border: 1px solid #353535;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Archivo', sans-serif;
    transition: border-color 0.3s ease;
}

.custom-form-input-col textarea.form-control {
    resize: none;
    min-height: auto;
    line-height: 1.5;
}

.custom-form-input-col .form-control::placeholder {
    color: #FFFFFF;
    opacity: 1;
}

.custom-form-input-col input.form-control::placeholder,
.custom-form-input-col textarea.form-control::placeholder {
    color: #FFFFFF;
    opacity: 1;
}

.location-label {
    display: block;
    font-size: 12px;
    color: #CCCCCC;
    margin-bottom: 0.5rem;
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
}

.location-field-wrapper {
    display: flex;
    flex-direction: column;
}

.location-field-wrapper .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #252525;
    border: 1px solid #353535;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Archivo', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}



.location-field-wrapper .form-control option {
    background: #252525;
    color: #FFFFFF;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #252525;
    border: 1px solid #353535;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.phone-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    flex-shrink: 0;
}

.phone-country-select {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    padding: 0;
    padding-right: 20px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    flex-shrink: 0;
}

.phone-country-select:focus {
    outline: none;
}

.phone-country-select option {
    background: #1F1F1F;
    color: #FFFFFF;
}

.phone-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0;
    color: #FFFFFF;
    font-size: 14px;
    font-family: 'Archivo', sans-serif;
}

.phone-input:focus {
    outline: none;
}

.location-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-previous,
.btn-next {
    padding: 9px 45px;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Archivo', sans-serif;
}

.btn-previous {
    background: #333333;
    color: #FFFFFF;
}

.btn-previous:hover {
    background: #555555;
}

.btn-next {
    background: #FFFFFF;
    color: #1F1F1F;
}

.btn-next:hover {
    background: #E0E0E0;
}

@media (max-width: 768px) {
    .radio-option{
        width: 240px;
    }


    .sequence-screen-body{
        padding: 3.5rem 0rem 0rem 0rem;

    }


    .become-wynerger-header {
        flex-direction: column;
    }
    
    .header-content h1 {
        font-size: 16px;
    }
    
    .user-type-section .row {
        display: flex;
        flex-wrap: wrap;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        gap: 10px;
    }

    .user-type-section .row > div {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
        padding: 0;
    }
    .user-type-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .user-type-card {
        min-height: 115px;
        padding: 12px;
        width: 100%;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    
    .user-type-card-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        flex: 1;
        justify-content: center;
        width: 100%;
    }
    
    .user-type-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .user-type-icon img {
        width: 32px;
        height: 32px;
    }
    
    .user-type-card span {
        font-size: 12px;
        font-weight: 700;
        color: #FFFFFF;
        text-align: center;
    }
    
    .checkmark-icon {
        position: absolute;
        top: 8px;
        right: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .checkmark-icon img {
        width: 20px;
        height: 20px;
    }
    
    .progress-indicator {
        padding: 0 10px;
        flex-wrap: nowrap;
        gap: 0.8rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .progress-step {
        flex: 0 0 auto;
        margin-bottom: 0;
        min-width: fit-content;
        align-items: center;
    }
    
    .progress-line {
        display: none;
    }
    
    .step-text {
        font-size: 10px;
        text-align: center !important;
        font-weight: 400;
        max-width: none;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .step-circle {
        width: 28px;
        height: 28px;
        margin-bottom: 0.3rem;
    }
    
    .step-number {
        font-size: 12px;
    }
    
    .form-section h3 {
        font-size: 16px;
    }
    
    .custom-form-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .custom-form-label-col {
        flex: 1;
        max-width: 100%;
    }
    
    .custom-form-input-col {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .custom-form-input-col .form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .custom-form-input-col textarea.form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .phone-input-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .phone-input {
        width: 100%;
        min-width: 0;
    }
    
    .location-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
    }
    
    .location-field-wrapper {
        width: 100%;
    }
    
    .location-field-wrapper .form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-buttons {        
        gap: 0.5rem;
        margin-left: 2rem;
     
    }
    
    .btn-previous,
    .btn-next {
        width: 163px;
        height: 40px;
        padding: 12px 22px 12px 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
        font-size: 12px;
        line-height: 155%;
        letter-spacing: -1%;
    }
    .header-separator {
        height: 1px;
        background: #444444;
        width: 100%;
        margin: 0.5rem 0;
    }
    .radio-label {
        font-size: 14px !important;     
    }
}

/* Radio Options Section */
.resume-option-section {
    margin-top: 2rem;
}

.radio-options {
    display: flex;
    gap: 8rem;
    margin-bottom: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: transparent;
    position: relative;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked {
    background: transparent;
    border-color: #FFFFFF;
    border-width: 2px;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFFFFF;
}

.radio-label {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
}

.content-section {
    margin-top: 1.5rem;
}

/* File Upload Area */
.file-upload-area {
    width: 100%;
    border: 2px dashed #666666;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #1F1F1F;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.file-upload-area:hover {
    border-color: #888888;
    background: #252525;
}

.upload-icon {
    color: #FFFFFF;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-content {
    flex: 1;
}

.upload-text {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0rem;
    font-family: 'Archivo', sans-serif;
}

.browse-link {
    color: #2277F3;
    text-decoration: underline;
    cursor: pointer;
}

.upload-format {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    font-family: 'Archivo', sans-serif;
}

.upload-file-button {
    background-color: #FFFFFF !important;
    color: #1F1F1F;
    /* border: none; */
    border-radius: 32px;
    padding: 4px 22px 4px 22px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
}

.upload-file-button:hover {
    background: #E0E0E0;
}

.upload-file-button:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .file-upload-area {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-file-button {
        width: 104px;
        height: 41px;
        margin-top: 1rem;
        padding: 6px 17px 6px 17px;
    }
    
   
}

/* Skills Tags */
.skills-input {
    margin-bottom: 0.75rem;
}

.skills-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: #000;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Archivo', sans-serif;
}

.skill-tag-remove {
    background: transparent;
    border: none;
    color: #1F1F1F;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    transition: color 0.2s ease;
}

.skill-tag-remove:hover {
    color: #666666;
}

/* Course Selection Screen Styles */
.special-deal-section {
    background: #333333;
    border-left: 3px solid #4C4C4C ;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.special-deal-label {
    font-size: 14px;
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
}

.special-deal-text {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    font-family: 'Archivo', sans-serif;
    line-height: 1.4;
}

.course-listing-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.course-card {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
    border: none;
}

.course-card:last-child {
    margin-bottom: 0;
}

.course-card .row {
    margin: 0;
    align-items: center;
}

.course-card .col-md-10 {
    padding: 0;
}

.course-card .col-md-2 {
    padding: 0;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-left-section {    
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #FFFFFF1A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.course-info {
    flex: 1;
}

.course-title {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
    font-family: 'Archivo', sans-serif;
    line-height: 1.3;
}

.course-description {
    font-size: 12px;
    color: #CCCCCC;
    margin: 0;
    font-family: 'Archivo', sans-serif;
    line-height: 1.5;
}

.add-to-cart-text{
    padding-top: 5px;
}

.course-price-btn {
    background: rgba(68, 68, 68, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 20px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.course-action-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.course-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 160px;
}

.course-action-btn.add-to-cart {
    background: #333333;
    color: #FFFFFF;
    border: 1px solid #666666;
    border-radius: 200px;
    padding: 16px 20px;
}

.course-action-btn.add-to-cart:hover {
    background: #555555;
    border-color: #777777;
}

/* Add to Cart - clicked state: orange bg, icon only centered, width same */
.course-action-btn.add-to-cart.added-to-cart {
    background: #E85D04;
    border-color: #E85D04;
    color: #FFFFFF;
    padding: 16px 20px;
}
.course-action-btn.add-to-cart.added-to-cart .add-to-cart-text {
    display: none;
}
.course-action-btn.add-to-cart.added-to-cart .add-to-cart-icon-wrap {
    margin: 0;
}
.course-action-btn.add-to-cart.added-to-cart:hover {
    background: #D54D00;
    border-color: #D54D00;
}

.course-action-btn.selected {
    background: #34C759;
    color: #FFFFFF;
    border: none;
    padding: 0.625rem;
    min-width: 160px;
    border-radius: 50px;
    height: 54px;
}

.course-action-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.course-action-btn img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.total-amount-section {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

.total-amount-text {
    background: rgba(68, 68, 68, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 20px;    
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    font-family: 'Archivo', sans-serif;
}

.total-amount-value {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}


@media (max-width: 768px) {
    .special-deal-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
        margin-top: 1.5rem;
    }

    .special-deal-text {
        font-size: 16px;
        line-height: 120%;
    }

    /* Course listing – mobile: ref layout, font sizes and alignment A–Z */
    .course-listing-section {
        gap: 0;
        margin-bottom: 1.25rem;
        margin-top: 1.25rem;
    }

    .course-card {
        background: transparent;
        border: 1px solid #444444;
        border-radius: 12px;
        padding: 20px 16px;
        margin-bottom: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .course-card:last-child {
        margin-bottom: 0;
    }

    .course-card .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        margin: 0;
        gap: 12px;
    }

    .course-card .col-md-10 {
        padding: 0;
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
    }

    .course-card .col-md-2 {
        padding: 0;
        flex: 0 0 auto;
        margin-bottom: 0;
    }

    /* Override Bootstrap mobile cols (col-12) to keep 10/2 layout on mobile */
    .course-card .col-12.col-md-10 {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .course-card .col-12.col-md-2 {
        flex: 0 0 56px;
        width: 56px;
        max-width: 56px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .course-left-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        border: none;
        background: transparent;
    }

    .course-info {
        width: 100%;
        margin-bottom: 8px;
    }

    .course-title {
        font-size: 18px;
        font-weight: 700;
        color: #FFFFFF;
        margin: 0 0 4px 0;
        line-height: 1.3;
        font-family: 'Archivo', sans-serif;
    }

    .course-description {
        font-size: 13px;
        color: #A0A0A0;
        line-height: 1.45;
        margin: 0;
        font-family: 'Archivo', sans-serif;
    }

    .course-price-btn {
        background: #333333;
        border: 1px solid #555555;
        border-radius: 8px;
        padding: 6px 21px;
        font-size: 13px;
        font-weight: 600;
        color: #FFFFFF;
        width: auto;
        display: inline-block;
        text-align: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        font-family: 'Archivo', sans-serif;
    }

    .course-action-wrapper {
        width: auto;
        justify-content: flex-end;
        align-items: center;
    }

    .course-action-btn {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .course-action-btn.selected {
        background: #34C759;
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
    }

    .course-action-btn.selected svg {
        display: block;
    }

    .course-action-btn.selected svg path {
        stroke: black !important;
        fill: none !important;
    }

    .course-action-btn.add-to-cart {
        background: #E85D04;
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
    }

    .course-action-btn.add-to-cart .add-to-cart-text {
        display: none;
    }

    .course-action-btn.add-to-cart .add-to-cart-icon-wrap {
        margin: 0;
    }

    .course-action-btn.add-to-cart.added-to-cart {
        background: #E85D04;
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
    }

    .course-action-btn svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .course-action-btn svg path {
        fill: currentColor;
    }

    /* Total amount bar – full width, centered text */
    .total-amount-section {
        justify-content: center;
        align-items: center;
        padding: 0;
        margin-top: 1rem;
        margin-bottom: 1.25rem;
    }

    .total-amount-text {
        display: block;
        width: 100%;
        margin: 0;
        background: #252525;
        border: 1px solid #444444;
        border-radius: 10px;
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 700;
        color: #FFFFFF;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
        font-family: 'Archivo', sans-serif;
    }

    .total-amount-value {
        font-size: 16px;
        font-weight: 700;
        color: #FFFFFF;
    }

    /* Course page nav: Previous + Create My WynProfile – side by side, ref style */
    .total-amount-section + .form-buttons {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-top: 1rem;
        margin-bottom: 0;
        margin-left: 0;
    }

    .total-amount-section + .form-buttons .btn-previous,
    .total-amount-section + .form-buttons .btn-next {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 48%;
        height: 40px;
        padding: 12px 22px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-family: 'Archivo', sans-serif;
        line-height: 155%;
        letter-spacing: -1%;
    }

    .total-amount-section + .form-buttons .btn-previous {
        background: #333333;
        color: #FFFFFF;
        border: 1px solid #444444;
    }

    .total-amount-section + .form-buttons .btn-next {
        background: #FFFFFF;
        color: #1F1F1F;
        border: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}
