.controls_flex_content_container{
    min-height: 100vh;
    padding-top: 45px;
}
.controls_flex_content{
    display: flex;
    gap:20px;
}
.controls {
    display: grid;
    gap: 15px;
    max-width: 1180px;
    background:#f7f7f7;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 100%;
    height: 100%;
}
.controls label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.controls_heading_text h1{
    font-size: 18px;
    text-align: left;
}
.controls_flex_01{
    width: 60%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 10px;
}
.controls_flex_02 {
    width: 40%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 10px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}
.wrapper {
    padding: 50px;
    display: inline-block;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.box-preview {
    width: 320px;
    height: 320px;
    background-color: #ffffff;
    border: 2px solid #ccc;
    border-radius: 10px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.output {
    margin-top: 20px;
    display: flex;
    align-items: center;
    margin-top: -50px;
}
.code-box {
    display: inline-block;
    background: #1e1e1e;
    color: #0f0;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    position: relative;
    max-width: 90%;
    word-break: break-all;
    box-shadow: 0 0 12px rgba(0,255,0,0.2);
    min-width: 480px;
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-left: auto;
}
.copy-btn {
    position: absolute;
    right: 10px;
    color: #000;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background 0.3s;
    font-weight: 700;
}
.copy-btn:hover {
    background: #afff00;
}
.color-inputs {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.color-inputs label {
    flex: 1;
}
textarea {
    width: 100%;
    height: 100px;
    font-family: monospace;
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}
.copy-btn {
    position: absolute;
    font-size: 12px;
    cursor: pointer;
}
.controls label{
    padding-bottom: 10px;
}
.controls label p{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}
.controls label span.controls_p_span_js{
    background: linear-gradient(135deg, #06b2cf, #0ac2e2);
    color: #ffffff;
    width: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 10px;
}
span.controls_p_span{
    width: 160px;
}
.controls_p_shadow input,
.controls_p_bg input{
    width: 100%;
    height: 40px !important;
}
.controls_p_btn input[type="checkbox"] {
    transform: scale(2);
    transform-origin: center;
    cursor: pointer;
}


@media (max-width: 1024px) {
    .controls_flex_content {
        flex-direction: column;
    }

    .controls_flex_01,
    .controls_flex_02 {
        width: 100%;
    }

    .controls_flex_02 {
        height: auto;
    }

    .box-preview {
        width: 100%;
        height: 300px;
        max-width: 100%;
        margin: 40px;
    }

    .wrapper {
        padding: 30px;
        flex-direction: column;
    }

    .code-box {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        font-size: 0.85em;
        padding: 10px;
    }

    .output {
        flex-direction: column;
        align-items: stretch;
        margin-top: 10px;
    }
}
.controls_flex_content_heading{
    margin-bottom: 10px;
}
.controls_flex_content_heading p{
    font-size: 20px;
}
.styled-title {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    gap: 12px;
}

.icon-wrap {
    background: linear-gradient(135deg, #06b2cf, #a0f0ff);
    color: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: pop 0.6s ease;
    transition: transform 0.3s;
}

.icon-wrap:hover {
    transform: scale(1.1);
}

.icon-wrap i {
    font-size: 1.4rem;
}

@keyframes pop {
    0% {
    opacity: 0;
    transform: scale(0.7);
    }
    100% {
    opacity: 1;
    transform: scale(1);
    }
}

@media (max-width: 768px) {
    .controls_heading_text h1 {
        font-size: 16px;
    }

    .controls label {
        align-items: center;
        flex-wrap: wrap;
    }

    .controls label p {
        gap: 5px;
        width: 100%;
    }
    .controls input{
        width: 100%;
    }

    .controls label span.controls_p_span_js,
    span.controls_p_span {
        width: 100%;
        text-align: center;
    }

    .color-inputs {
        flex-direction: column;
        gap: 15px;
    }

    .copy-btn {
        position: static;
        margin-top: 10px;
        width: 100%;
    }

    .controls {
        padding: 15px;
    }

    textarea {
        height: 80px;
        font-size: 0.85em;
    }
}
@media (max-width: 768px) {
    .controls_p_btn input[type="checkbox"]{
        width: 40px;
        margin-left: auto;
        text-align: end;
    }
    .controls label.controls_p_btn_sp p{
        width: 50%;
    }
}
@media (max-width: 1024px) {
    .code-box {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        padding: 10px;
        flex-wrap: wrap-reverse;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
@media (max-width: 1024px) {
    .box-preview {
        width: 200px;
        height: 200px;
        max-width: 100%;
        margin: 40px;
    }
}
<<<<<<< HEAD
label.controls_p_shadow,
label.controls_p_bg {
    display: block;
    width: 100%;
    box-sizing: border-box;
}
.controls_p_shadow input,
.controls_p_bg input {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    border: none;
    outline: none;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none; /* iOS Safari */
    border-radius: 4px;
}
h2.styled-title{
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
@media(max-width:768px){
    h2.styled-title{
        font-size: 14px;
        font-weight: 500;
    }
}
}
