#c-compiler {
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 15px;
}

#c-compiler .row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
}

#c-compiler .col-md-6 {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#c-compiler .info-text {
    color: #a8e4ff;
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    margin: 20px auto;
    max-width: 100%;
}

#c-compiler .info-text a {
    color: #00e5ff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.6);
    padding-bottom: 2px;
    transition: 0.25s ease;
}

#c-compiler .info-text a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.section-title {
    color: #89CFF0;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
}

.code-area {
    background: #030816;
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    width: 100%;
    height: 250px;
    resize: none;
    line-height: 1.4 !important;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.code-area:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.output-area {
    background: #010409;
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    height: 250px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    overflow-y: auto;
    white-space: pre-wrap;
    resize: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

#c-compiler .text-center {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.run-btn {
    background: linear-gradient(135deg, #00e5ff, #007bff) !important;
    border: none;
    border-radius: 25px;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    box-shadow: 0px 0px 10px rgba(0, 229, 255, 0.4);
    transition: 0.25s ease;
    cursor: pointer;
}

.run-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(0, 229, 255, 0.6);
}

.run-btn:disabled {
    background: #374151 !important;
    color: #9ca3af !important;
    box-shadow: none;
    cursor: not-allowed;
    transform: scale(1);
}

@media (max-width: 768px) {
    #c-compiler {
        width: 90%;
        padding: 0 12px;
        margin-top: 10px !important;
    }

    #c-compiler .row {
        flex-direction: column;
        gap: 20px;
    }

    #c-compiler .col-md-6 {
        max-width: 100%;
        flex: 100%;
    }

    #c-compiler .info-text {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 15px;
    }

    .code-area,
    .output-area {
        height: 150px;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
        padding: 10px;
    }

    .run-btn {
        padding: 10px 30px;
        font-size: 16px;
        border-radius: 12px;
    }
}