.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.status-section {
    margin-bottom: 20px;
}

.status-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.status-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.status-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.status-label {
    font-weight: bold;
}

.status-value {
    text-align: right;
    word-break: break-all;
}

.input-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.input-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.option-group {
    margin-bottom: 15px;
}

.option-card {
    display: block;
    background: white;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.option-card input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.option-title {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.option-description {
    display: block;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

.advanced-options {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.advanced-options h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #495057;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group label input[type="checkbox"] {
    margin-right: 8px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-button {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.action-button.clear {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.action-button.schedule {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
}

.action-button.analyze {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.results-section {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.results-area {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #cce5ff;
    min-height: 100px;
}

.result-placeholder {
    color: #6c757d;
    text-align: center;
    padding: 30px;
    font-style: italic;
}

.history-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.history-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.history-controls span {
    font-weight: bold;
    color: #495057;
}

.export-button {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.export-button:hover {
    background: #218838;
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.history-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
}

.history-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.history-time {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.history-action {
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.history-details {
    font-size: 13px;
    color: #495057;
}

.output-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
}

.code-output {
    margin-bottom: 15px;
}

.code-output pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.copy-code-button {
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.copy-code-button:hover {
    background: #218838;
    transform: translateY(-1px);
}

.result-success {
    color: #28a745;
    font-weight: bold;
}

.result-error {
    color: #dc3545;
    font-weight: bold;
}

.result-warning {
    color: #ffc107;
    font-weight: bold;
}

.security-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-left: 8px;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}