* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    min-height: 100vh;
}

#ticker-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

#ticker-bar {
    width: 100%;
    height: 80px;
    background-color: #ff0000;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

#ticker-text {
    font-size: 40px; 
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap; 
    position: absolute;
    left: 0;
    top: 50%; /* కచ్చితంగా మధ్యలో ఉండటానికి */
    will-change: transform;
}

.controls {
    background: #2a2a2a;
    padding: 20px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
}

.controls h2 {
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.control-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.control-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #ccc;
}

select {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #555;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
}

input[type="range"], input[type="color"] {
    cursor: pointer;
}

textarea {
    padding: 10px;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid #555;
    background: #111;
    color: #fff;
    resize: vertical;
}

.action-buttons {
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
}

button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.export-btn {
    background-color: #0078D7;
    color: white;
}

.export-btn:hover { background-color: #005a9e; }

.status-msg {
    margin-top: 10px;
    font-size: 14px;
    color: #00FF00;
}