/* Manuel Mesaj Gönderme Sayfası Stilleri */

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.manuel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .manuel-container {
        grid-template-columns: 1fr;
    }
}

/* Numbers Panel */
.numbers-panel {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.numbers-stats {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.numbers-stats p {
    margin: 5px 0;
    color: #333;
}

.numbers-stats strong {
    color: #667eea;
}

.numbers-list {
    max-height: 400px;
    overflow-y: auto;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.empty-message {
    text-align: center;
    color: #999;
    padding: 20px;
}

.number-item {
    background: white;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.number-item:hover {
    border-color: #667eea;
    transform: translateX(5px);
}

.number-item.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.number-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.number-item .number-text {
    flex: 1;
    font-weight: 500;
}

.number-item .number-status {
    font-size: 0.85em;
    padding: 3px 8px;
    border-radius: 4px;
    background: #e0e0e0;
}

.number-item.selected .number-status {
    background: rgba(255, 255, 255, 0.3);
}

.number-item .number-status.sent {
    background: #4caf50;
    color: white;
}

.number-item .number-status.pending {
    background: #ff9800;
    color: white;
}

.number-item .number-status.failed {
    background: #f44336;
    color: white;
}

/* Message Panel */
.message-panel {
    display: flex;
    flex-direction: column;
}

.message-preview {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.message-preview h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1em;
}

.preview-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    min-height: 100px;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
    border: 2px solid #e0e0e0;
}

.char-count {
    text-align: right;
    margin-top: 10px;
    color: #666;
    font-size: 0.9em;
}

.send-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-large {
    padding: 15px 24px;
    font-size: 1.1em;
}

.send-progress {
    margin-top: 20px;
}

/* Log Controls */
.log-controls {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

/* Scrollbar for numbers list */
.numbers-list::-webkit-scrollbar {
    width: 8px;
}

.numbers-list::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.numbers-list::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.numbers-list::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.number-item {
    animation: slideIn 0.3s ease-out;
}

/* Select All Button */
.select-all-btn {
    margin-top: 10px;
    width: 100%;
}


/* Countdown Styles */
.countdown-section {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.countdown-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.countdown-svg {
    width: 100%;
    height: 100%;
}

.countdown-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-number span {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
}

.countdown-text {
    text-align: left;
}

.countdown-label {
    font-size: 12px;
    color: #666;
    margin: 0 0 5px 0;
}

.countdown-time {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}
