.subscripe {
    min-height: 100vh;
    background-image: url("../assets/media/background/bg-subscripe.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.subscripe_form {
    position: relative;
    /* overflow: hidden; */
    background-color: #fff;
    border-radius: 20px;
    margin: 6rem 0;
    padding: 0.5rem;
}

.lines {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}
.lines div {
    width: 100%;
    transition: 1000ms;
}
.lines .line {
    width: 100%;
    height: 5px;
    background-color: #ddd;
    border-radius: 10px;
}

.primary_btn {
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.primary_btn:hover {
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    /* width: 10px; */
}

.lines .line.active {
    background-color: var(--main-color);
    width: 100%;
}

.attend_place {
    font-size: 17px;
    font-weight: 700;
}

.subscripe_input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border: 1px solid #00000026;
    background-color: #fff;
    width: 100%;
    padding: 0.7rem;
    border-radius: 12px;
}

.subscripe_input input {
    outline: none;
    background-color: transparent;
    border: none;
}
.subscripe_input [type="radio"] {
    border: 1px solid var(--main-color);
}
.iti { width: 100%; direction: ltr; }
.iti {
    direction: ltr; /* Input text direction */
  }
.choose_course {
    background-color: #fff;
}
.course_name {
    border: 1px solid #dde2f3;
    background-color: #f9fbfe;
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    cursor: pointer;
    border-radius: 8px;
    transition: border-color 0.3s, background-color 0.3s;
}

.course_name label {
    font-size: 1.1rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.course_name input[type="radio"] {
    transform: scale(1.5);
    accent-color: #2243a4;
    margin-right: 10px;
}

.course_name input[type="radio"]:checked + label {
    color: #2243a4;
}

.course_name.active {
    border-color: #2243a4;
    background-color: #e0f0ff;
}

.course_name.active label {
    color: #2243a4;
}

.dropdown {
    width: 100%;
}
.dropdown a {
    padding: 0.7rem;
    border-radius: 12px !important;
    text-align: right;
}

.dropdown-toggle::after {
    display: inline-block;
    height: 10px;
    width: 10px;
    content: "";
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
    transform: rotate(315deg);
}
.main-text-color {
    color: var(--main-color) !important;
}
.payment {
    border: 1px solid #dde2f3;
    border-radius: 12px;
    background-color: #f9fbfe;
    cursor: pointer;
    height: 70px;
}

.payment img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.whats-app {
    background-color: #25d994;
    padding: 0.2rem 1rem;
    p {
        font-size: 14px;
    }
}

.insta_details {
    opacity: 0;
    visibility: hidden;
    transition: 500ms;
}
.insta_details.show {
    opacity: 1;
    visibility: visible;
}
.whats-app:hover {
    background-color: #25d994;
}

.active_payment {
    background-color: #e7effb;
    border-color: var(--main-color) !important ;
}

input[type="file"] {
    display: none;
}

.upload-label {
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    padding: 1rem;
    border: 3px dashed var(--main-color);
    border-radius: 1rem;
    cursor: pointer;
}

.course_title {
    font-size: 24px;
    font-weight: 600;
}
/* .course-description {
  line-height: 2;
} */

.image_form {
    position: absolute;
    bottom: 0;
    left: 0px;
}

/* Add active to form */
.return_btn {
    visibility: hidden;
    /* visibility: visible; */
}
.choose_course,
.payment__content {
    display: none;
}
.choose_course.active_form,
.payment__content.active_form {
    display: block;
    animation: subscripeContentActive 500ms ease-in-out forwards;
}
.submit_form {
    display: none;
}
.sell_price,
.price {
    font-size: 18px;
    font-weight: 600;
}
.total_price {
    font-size: 24px;
    font-weight: 700;
    color: var(--main-color);
}

@media (max-width: 768px) {
    .subscripe {
        margin-top: 6rem;
    }
    .payment {
        margin-top: 1rem;
    }
}
.inrollment-btn {
    width: 50%;
}
@media (max-width: 500px) {
    .inrollment-btn {
        width: 100%;
    }
}

@keyframes subscripeContentActive {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
