﻿.cc-modal {
    display: none;
    position: fixed;
    z-index: 3;
    inset: 0;
    width: 100%;
    min-height: 500px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    padding-block: 60px;
    box-sizing: border-box;
    overflow-y: auto;
}

.cc-modal-content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    width: 35%;
    padding-block: 40px;
    box-shadow: 0px 3px 78px #00000029;
    margin: auto;
    top: 20%;
}

cc-video-modal {
    padding-block: 20px;
}

.cc-video-modal .cc-modal-content-wrapper {
    top: unset;
    width: 60%;
}

.cc-video-modal .cc-video-wrapper {
    height: 650px;
    padding: 20px 10px 20px 10px;
}

.cc-modal-close-btn img {
    width: clamp(28px, 2.2vw, 44px);
    height: clamp(28px, 2.2vw, 44px);
}

.cc-modal-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 10px 15px 0 0;
}

.cc-close-icon {
    width: 44px;
    height: 44px;
}

.cc-confirm-modal .avatar {
    width: clamp(56px, 10vw, 140px);
    margin-block: 12px;
}

.cc-confirm-modal .confirm-text {
    color: var(--fuschia);
    font-weight: var(--bold-font-weight);
    font-size: clamp(16px, 1.3vw, 26px);
    text-align: center;
    padding: 0 20px 0 20px;
    margin-block: 8px;
}

.cc-confirm-modal .secondary-text {
    margin: 0;
    color: var(--black);
    font-weight: var(--bold-font-weight);
    font-size: clamp(14px, 1vw, 18px);
    text-align: center;
    padding: 0 20px 0 20px;
    margin-block: 8px;
}

.cc-modal-confirm-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-block: 12px;
}

.cc-modal-confirm-buttons .cancel {
    color: var(--light-blue);
    font-size: clamp(14px,0.9vw,18px);
    text-decoration: underline;
    text-underline-offset: 1.5px;
    text-decoration-skip-ink: none;
}

.cc-modal-input {
    max-width: 85%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid grey;
    margin: 15px 0 22px 0;
}

    .cc-modal-input:focus {
        outline: none;
    }

.ai-modal button.confirm {
    background-color: var(--ai-purple);
}

.ai-modal button.cancel {
    text-decoration: none;
    font-size: clamp(16px, 1.2vw, 22px);
    color: var(--ly-dark-red);
    font-family: 'sharktooth-bold';
}

.ai-modal .secondary-text {
    color: var(--ly-lesson-orange);
}

.ai-modal .confirm-text {
    color: var(--ai-purple);
}

.ai-modal .confirm-text,
.ai-modal .secondary-text {
    font-size: clamp(18px, 1.2vw, 22px);
}

.ai-modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ai-modal-image-container > img {
    width: clamp(80px, 10vw, 113px);
}

.ai-modal-image-container > span {
    color: var(--ai-purple);
    font-size: clamp(22px, 1.8vw, 30px);
    font-family: 'sharktooth-heavy';
}

.ai-modal .cc-modal-content-wrapper {
    padding-block: 20px;
}

@media screen and (max-width:1050px) {
    .cc-modal-content-wrapper {
        width: 55%;
    }
}

@media screen and (max-width:768px) {
    .cc-modal-content-wrapper {
        width: 75%;
    }
}

@media screen and (max-width:480px) {
    .cc-modal-content-wrapper {
        width: 95%;
    }
}
