.dtc-snippet-wrapper {
    background: #eee;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    color: #f0f0f0;
    position: relative;
}

.dtc-snippet-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dtc-snippet-language {
    background: #0073e6;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.dtc-snippet-access {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.hljs-api_key_placeholder {
    background: #c77c0c;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

.dtc-free {
    background: #28a745;
}

.dtc-locked {
    background: #dc3545;
}

.dtc-timer {
    background: #dcb535;
}

.dtc-init {
    background: #dcb535;
}

.dtc-snippet-title {
    margin-top: 0;
    color: #333;
    font-weight: bold;
    display: inline-block;
    margin-right: 2em;
}

.dtc-snippet-description {
    margin-bottom: 12px;
    opacity: 0.85;
    color: #333;
}
.dtc-author{
    color: #c77c0c;
    position: absolute;
    bottom: 1em;
    right: 1em;
}
.dtc-snippet-code-block {
    position: relative;
}
.dtc-snippet-code-block pre{
    position: relative;
}
code{
    margin-bottom: 0em !important;
}
pre {
    background: #111;
    padding: 1em 1em 0 !important;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 0em !important;
}

.dtc-copy-btn,
.dtc-download-btn {
    /*margin-top: -16px;*/
    /*margin-right: 10px;*/
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    background: #c77c0c;
    color: white;
    border-radius: 4px;
    /*transition: 0.2s;*/
    display: inline-block;
    margin-left: 0.25em;
    float: none;
}

.dtc-copy-btn:hover,
.dtc-download-btn:hover {
    background: #c48932;
}

.dtc-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
}

.dtc-version-selector select{
    border-color: #333 !important;
    color: #333 !important;
    border-radius: 0.4em !important;
}
.selection-box::after{
    border-color: #333 !important;
    color: #333 !important;
    border-radius:  0 0.4em 0.4em 0  !important;
}
.dtc-version-selector {
    margin-bottom: 15px;
}

.dtc-version-selector label {
    font-weight: bold;
    margin-right: 10px;
}
.hljs-punctuation{
    color: #8bcec5;
}
.hljs-built_in{
    color: #eb00ff;
}
.hljs-variable{
    color: #b78a62;
}
.hljs-object{
    color: #a6a665;
}
.hljs-keyword{
    color: #3ace35;
}
.hljs-number{
    color: #f579ff;
    margin-right: 5px;
    margin-left: 5px;
}
.hljs-string{
    color: #b3b3b3;
}
.hljs-operator{
    color: #d65c5c;
    margin-right: 5px;
    margin-left: 5px;
}
.hljs-constant{
    color: #42ad42;
}
.hljs-comment{
    color: #6b836b;
}
.dtc-requires {
    background: #f7f7f7;
    padding: 15px;
    border-left: 4px solid #ff9800;
    margin: 20px 0;
    font-size: 14px;
}

.dtc-requires pre,
.dtc-requires .dtc-requires-list {
    margin: 0;
    white-space: pre-wrap;
    color: #333 !important;
}
.dtc-requires{
    color: #333 !important;

}
.dtc-disclaimer-overlay {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: #ff980099;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
}
.dtc-disclaimer-box {
    background: #c2a780;
    padding:25px;
    max-width:500px;
    border-radius:8px;
    text-align:center;
    color: #333;
}
#dtc-disclaimer-agree{
    background:#ff9800 !important;

}


/* LIST */
.dtc-snippet-list {
    margin-top: 20px;
}

.dtc-snippet-search {
    margin-bottom: 20px;
}

.dtc-snippet-search input {
    padding: 8px;
    width: 250px;
}

.dtc-snippet-search button {
    padding: 8px 14px;
}

.dtc-snippet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    gap: 20px;
}

.dtc-snippet-card {
    padding: 20px;
    background: #eeeeee;
    border-radius: 10px;
    border: 1px solid #333;
    color: #333;
}

.dtc-title {
    margin-top: 0;
}
.dtc-button{
    background-color: #c77c0c !important;
    border-color: #c77c0c !important;
}
.dtc-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    margin-right: 5px;
    border-radius: 4px;
}

.dtc-lang { background: #03A9F4; color: #fff; }
.dtc-ver  { background: #673AB7; color: #fff; }
.dtc-free { background: #4CAF50; color: #fff; }
.dtc-locked { background: #F44336; color: #fff; }

.dtc-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: #2196F3;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
}

