/* View: ASCII_Cam — Page-specific styles */

body {
    margin: 0;
    padding-top: var(--nav-height, 53px);
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #00ff00;
    overflow: hidden;
}

.toggle-btn {
    position: fixed;
    top: calc(var(--nav-height, 53px) + 10px);
    right: 20px;
    background-color: #000;
    color: #00ff00;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.toggle-btn:hover {
    background-color: #000;
}

.sidebar {
    position: fixed;
    top: var(--nav-height, 53px);
    right: -320px;
    width: 320px;
    height: calc(100vh - var(--nav-height, 53px));
    background-color: #000;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    border-left: 1px solid #000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.sidebar.open {
    right: 0;
    border-left: 2px solid;
}

.sidebar-content {
    padding: 12px;
}

@keyframes slow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate {
    animation: slow-rotate 5s linear infinite;
    transform-origin: center center;
}

.control-group {
    margin-bottom: 12px;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #00ff00;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #00ff00;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00ff00;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00ff00;
    cursor: pointer;
    border: none;
}

.slider-value {
    display: inline-block;
    color: #00ff00;
    margin-top: 5px;
    font-size: 1em;
    font-style: oblique;
}

.color-picker {
    width: 20%;
    height: 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pink-text-color {
    color: #e622c5;
}

.pink-text-color:hover {
    text-shadow: 0 0 8px #e622c5;
}

.pink-text-color-glowing {
    color: #e622c5;
    text-shadow: 0 0 8px #e622c5;
}

#asciiOutput {
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    color: #00ff00;
    background-color: #000;
    line-height: 1;
    white-space: pre;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

html {
    background-color:#000;
}
