/* Lekzy-TTP Dark Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Roboto Mono', 'Consolas', monospace;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid #444;
}

.app-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.branding {
    margin-top: 15px;
}

.telegram {
    color: #d9534f;
    font-weight: 500;
    font-size: 1.1em;
}

.motto {
    color: #5cb85c;
    font-weight: 400;
    font-size: 1em;
    margin-top: 5px;
}

.card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #444;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #cccccc;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: #333333;
    border: 1px solid #555;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    border-color: #5cb85c;
    box-shadow: 0 0 5px rgba(92, 184, 92, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    width: 100%;
    padding: 12px;
    background: #333333;
    border: 1px solid #555;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: #5cb85c;
    color: #ffffff;
}

.btn-primary:hover {
    background: #4cae4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(92, 184, 92, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-danger {
    background: #d9534f;
    color: #ffffff;
}

.btn-danger:hover {
    background: #c9302c;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    display: block;
}

.menu-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.menu-btn {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #444;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    border-color: #5cb85c;
    background: rgba(92, 184, 92, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.error {
    background: rgba(217, 83, 79, 0.2);
    border: 1px solid #d9534f;
    color: #d9534f;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.success {
    background: rgba(92, 184, 92, 0.2);
    border: 1px solid #5cb85c;
    color: #5cb85c;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.loading {
    display: none;
    text-align: center;
    color: #5cb85c;
    font-weight: 500;
    margin: 20px 0;
}

.progress-bar {
    background: #333;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 20px;
    background: linear-gradient(90deg, #5cb85c, #4cae4c);
    width: 0%;
    transition: width 0.3s ease;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #444;
}

.stat-number {
    font-size: 1.8em;
    font-weight: 700;
    color: #5cb85c;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9em;
    margin-top: 5px;
}

.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #444;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .menu-buttons {
        grid-template-columns: 1fr;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 15px;
    }
    
    .back-btn {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}
