.skynet-planificacion-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.skynet-paso {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-row .form-group {
    flex: 1;
    padding: 0 10px;
    min-width: 200px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #007cba;
    color: white;
}

.btn-success {
    background: #46b450;
    color: white;
}

.btn-warning {
    background: #ffb900;
    color: white;
}

.btn-error {
    background: #e74c3c;
    color: white;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.resultado-container,
.info-container,
.planificaciones-container {
    margin-top: 15px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    margin-bottom: 15px;
}

.card-body {
    padding: 15px;
}

.sugerencias-container {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: calc(100% - 24px);
    margin-top: 5px;
}

.sugerencia-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.sugerencia-item:hover {
    background: #f0f0f0;
}

.sugerencia-item:last-child {
    border-bottom: none;
}

.skynet-alert {
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
}

.skynet-alert.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.skynet-alert.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.skynet-alert.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.skynet-alert.info {
    background: #cce7ff;
    border: 1px solid #b3d9ff;
    color: #004085;
}

.estado-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.estado-pendiente {
    background: #fff3cd;
    color: #856404;
}

.estado-en-proceso {
    background: #cce7ff;
    color: #004085;
}

.estado-finalizada {
    background: #d4edda;
    color: #155724;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background: #f8f9fa;
    font-weight: bold;
}

.form-text {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Estilos para modales */
.skynet-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

.skynet-modal {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: skynetModalSlideIn 0.3s ease-out;
}

.skynet-modal-warning {
    border-left: 5px solid #ffb900;
}

.skynet-modal-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #eee;
}

.skynet-modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.skynet-modal-body {
    padding: 20px;
    line-height: 1.6;
}

.skynet-modal-body ul {
    margin: 10px 0;
    padding-left: 20px;
}

.skynet-modal-body li {
    margin-bottom: 5px;
}

.skynet-nota {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.skynet-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.visitas-futuras-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.visitas-futuras-section h5 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Animaciones */
@keyframes skynetModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        padding: 0;
        margin-bottom: 15px;
    }
    
    .skynet-planificacion-container {
        padding: 10px;
    }
    
    .skynet-modal {
        margin: 10px;
        max-width: none;
    }
    
    .skynet-modal-footer {
        flex-direction: column;
    }
    
    .skynet-modal-footer .btn {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 5px;
    }
}

@media (max-width: 480px) {
    .skynet-paso {
        padding: 15px;
    }
    
    .card-body {
        padding: 10px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}