﻿.cp-container-fluid {
    padding: 20px;
    max-width: 550px;
    margin-left: 0;
    margin-right: auto;
}

.cp-form-control:focus,
.cp-quantity:focus,
.cp-btn-wide:focus,
button:focus,
input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.cp-btn-primary {
    margin-top: 1rem;
}

.cp-btn-wide {
    width: 100%;
    padding: 3px 16px;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    border-radius: 10px;
}

.cp-content-list {
    margin-top: 2rem;
    max-height: 550px;
    overflow-y: scroll;
}

.cp-content-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
}

.cp-content-item-inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 100%;
}

.cp-content-item .cp-form-control {
    background-color: #f0f0f0;
    height: 200px;
    resize: none;
    padding: 10px;
    border: 1px solid #ddd;
    width: 100%;
}

.cp-content-item .cp-quantity {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    margin-top: 5px;
}

.cp-content-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cp-remove-btn {
    background: none;
    color: #c82c2c;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.cp-multiply-img {
    margin: 0 10px;
    margin-top: 15px;
    width: 1.5rem;
    height: auto;
}

.cp-quantity-container {
    display: flex;
    flex-direction: column;
    width: 20%;
}

.cp-tooltip-box {
    position: fixed;
    top: 0.1rem;
    right: 0.1rem;
    padding: 1rem;
    z-index: 1050;
}

    .cp-tooltip-box button {
        display: flex;
        align-items: center;
        font-size: 16px;
        color: black;
        background: none;
        border: none;
        cursor: pointer;
        text-decoration: none;
    }

        .cp-tooltip-box button img {
            height: auto;
            margin-right: 8px;
        }

.cp-modal-dialog-centered {
    max-width: 500px;
    max-height: 400px;
    overflow-y: auto;
}

.cp-modal-body {
    font-size: 14px;
}

    .cp-modal-body a {
        text-decoration: none;
    }

.cp-right-side-container {
    position: fixed;
    right: 200px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .cp-right-side-container .cp-btn-wide {
        width: 270px;
    }

.cp-toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.cp-toggle-label {
    margin: 0;
    font-size: 14px;
}

.cp-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 27px;
}

    .cp-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.cp-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

    .cp-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        border-radius: 50%;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.4s;
    }

.cp-switch input:checked + .cp-slider {
    background-color: #2196F3;
}

    .cp-switch input:checked + .cp-slider:before {
        transform: translateX(23px);
    }

.cp-modal-header {
    display: flex;
    justify-content: center;
    position: relative;
}

    .cp-modal-header .btn-close {
        position: absolute;
        right: 1rem;
        top: 1rem;
    }

.cp-modal-body .cp-action-step {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-align: left; 
}

@media (max-width: 768px) {
    .cp-right-side-container {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 1.5rem;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .cp-right-side-container .cp-btn-wide {
            width: 250px;
        }
}

@media (max-width: 1000px) {
    .cp-tooltip-box {
        position: static;
        padding: 0;
        display: flex;
        justify-content: center;
    }
}


